:feature: made GetComponent nullable in NodeExtension

This commit is contained in:
2025-11-25 13:34:22 +01:00
parent c695115a4a
commit b4013b1ff2
+1 -1
View File
@@ -56,7 +56,7 @@ public static class NodeExtension
/// <param name="node"></param>
/// <typeparam name="T"></typeparam>
/// <returns></returns>
public static T GetComponent<T>(Node node)
public static T? GetComponent<T>(Node node)
{
if (node is T)
{