Beispiel #1
0
 public static Component FindComponentInParent(this Transform self, Type type, string name,
                                               bool isStartWith = true)
 {
     return(TransformUtil.FindComponentInParent(self, type, name, isStartWith));
 }
Beispiel #2
0
 public static T FindComponentInParent <T>(this Transform self, string name, bool isStartWith = true)
     where T : Component
 {
     return(TransformUtil.FindComponentInParent <T>(self, name, isStartWith));
 }