Ejemplo n.º 1
0
 public static Component FindComponentInChildren(this Transform self, Type type, string name,
                                                 bool isRecursive = true, bool isStartWith = true)
 {
     return(TransformUtil.FindComponentInChildren(self, type, name, isRecursive, isStartWith));
 }
Ejemplo n.º 2
0
 public static T FindComponentInChildren <T>(this Transform self, string name, bool isRecursive = true,
                                             bool isStartWith = true) where T : Component
 {
     return(TransformUtil.FindComponentInChildren <T>(self, name, isRecursive, isStartWith));
 }