public static Component CreateComponent(MonoBehaviour parent, Type type) { return(NgObject.CreateComponent(parent.get_gameObject(), type)); }
public static Component CreateComponent(Transform parent, Type type) { return(NgObject.CreateComponent(parent.get_gameObject(), type)); }