Answers for "unity create empty gameobject in code"

C#
2

unity instantiate empty gameobject

GameObject newObj = new GameObject("Name");
Instantiate(newObj, Vector3.zero, Quaternion.identity);
Posted by: Guest on August-28-2020
0

unity create empty gameobject in code

objToSpawn = new GameObject("Cool GameObject made from Code");
Posted by: Guest on June-04-2020

Code answers related to "unity create empty gameobject in code"

C# Answers by Framework

Browse Popular Code Answers by Language