public static void RemoveComponent(this Component com, System.Type type)
 {
     ObjectUtil.RemoveComponent(com, type);
 }
Exemplo n.º 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);
 }
Exemplo n.º 4
0
 public static void RemoveComponent <T> (this GameObject go) where T : Component
 {
     ObjectUtil.RemoveComponent <T> (go);
 }