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