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