Пример #1
0
 public static Component[] FindComponentsWithTagInChildren(this Transform self, Type type, string tagName,
                                                           bool isRecursive = true, bool isStartWith = true)
 {
     return(TransformUtil.FindComponentsWithTagInChildren(self, type, tagName, isRecursive, isStartWith));
 }
Пример #2
0
 public static T[] FindComponentsWithTagInChildren <T>(this Transform self, string tagName,
                                                       bool isRecursive = true,
                                                       bool isStartWith = true) where T : Component
 {
     return(TransformUtil.FindComponentsWithTagInChildren <T>(self, tagName, isRecursive, isStartWith));
 }