Before 优化 机场
This commit is contained in:
@@ -461,6 +461,11 @@ namespace BITKit
|
||||
return true;
|
||||
}
|
||||
component = self.GetComponentInParent<T>(true);
|
||||
if (component is not null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
component = self.GetComponent<T>();
|
||||
return component is not null;
|
||||
}
|
||||
public static bool TryGetFirstOrDefault<T>(this IEnumerable<T> self, out T value)
|
||||
|
Reference in New Issue
Block a user