UnityEngine.GameObject.Internal_CreateGameObject C# (CSharp) Method

Internal_CreateGameObject() private static method

private static Internal_CreateGameObject ( GameObject mono, string name ) : void
mono GameObject
name string
return void
		private static void Internal_CreateGameObject(GameObject mono, string name){}
		public GameObject(string name){}

Usage Example

Example #1
0
 /// <summary>
 ///   <para>Creates a game object and attaches the specified components.</para>
 /// </summary>
 /// <param name="name"></param>
 /// <param name="components"></param>
 public GameObject(string name, params System.Type[] components)
 {
     GameObject.Internal_CreateGameObject(this, name);
     foreach (System.Type component in components)
     {
         this.AddComponent(component);
     }
 }
All Usage Examples Of UnityEngine.GameObject::Internal_CreateGameObject