public static Component[] FindComponentsInParent(this Transform self, Type type, string name, bool isStartWith = true) { return(TransformUtil.FindComponentsInParent(self, type, name, isStartWith)); }
/// <summary> /// /// </summary> /// <param name="transform"></param> /// <param name="name"></param> /// <returns></returns> public static T[] FindComponentsInParent <T>(this Transform self, string name, bool isStartWith = true) where T : Component { return(TransformUtil.FindComponentsInParent <T>(self, name, isStartWith)); }