Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity instantiate empty gameobject

GameObject newObj = new GameObject("Name");
Instantiate(newObj, Vector3.zero, Quaternion.identity);
 
PREVIOUS NEXT
Tagged: #unity #instantiate #empty #gameobject
ADD COMMENT
Topic
Name
1+6 =