示例#1
0
 public static Component CreateComponent(MonoBehaviour parent, Type type)
 {
     return(NgObject.CreateComponent(parent.get_gameObject(), type));
 }
示例#2
0
 public static Component CreateComponent(Transform parent, Type type)
 {
     return(NgObject.CreateComponent(parent.get_gameObject(), type));
 }