Is there any way to instantiate an object to a different name / numeric variation of an object (player01,02, etc.) instead of using (clone) at the end of it i.e. player(clone).
var obj = Instantiate(prefab);
obj.name = “Whatever”;
Is there any way to instantiate an object to a different name / numeric variation of an object (player01,02, etc.) instead of using (clone) at the end of it i.e. player(clone).
var obj = Instantiate(prefab);
obj.name = “Whatever”;