Ejemplo n.º 1
0
 public static void RemoveComponent(this GameObject go, System.Type type)
 {
     UnityFunction.DestoryObject((UnityEngine.Object)go.GetComponent(type));
 }
Ejemplo n.º 2
0
 public static void RemoveComponent(this Component comp)
 {
     UnityFunction.DestoryObject((UnityEngine.Object)comp);
 }