mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
Update UnityExtension.cs
This commit is contained in:
@@ -170,7 +170,7 @@ namespace TEngine
|
||||
}
|
||||
|
||||
[TypeInferenceRule(TypeInferenceRules.TypeReferencedByFirstArgument)]
|
||||
public static Component FindChildComponent(this Type type, Transform transform, string path)
|
||||
public static Component FindChildComponent(this Transform transform, string path, Type type)
|
||||
{
|
||||
var findTrans = transform.Find(path);
|
||||
if (findTrans != null)
|
||||
|
Reference in New Issue
Block a user