Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

clone gameobject unity c#

public GameObject rootObj;

void Start()
{
    GameObject duplicate = Instantiate(rootObj);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #clone #gameobject #unity
ADD COMMENT
Topic
Name
3+7 =