public static void RemoveComponent(this Component com, System.Type type)
 {
     ObjectUtil.RemoveComponent(com, type);
 }
Beispiel #2
0
 public static void RemoveComponent(this GameObject go, System.Type type)
 {
     ObjectUtil.RemoveComponent(go, type);
 }
 public static void RemoveComponent <T> (this Component com) where T : Component
 {
     ObjectUtil.RemoveComponent <T> (com);
 }
Beispiel #4
0
 public static void RemoveComponent <T> (this GameObject go) where T : Component
 {
     ObjectUtil.RemoveComponent <T> (go);
 }