Answer by WillTAtl
just set the name property of the object returned from Instantiate, like this... var obj=Instantiate(myPrefab,pos,rot); obj.name="NewName";
View ArticleAnswer by aldonaletto
You can use some Unityscript string functions to eliminate the *(Clone)* string var obj = Instantiate(objPrefab, position, rotation); // create the object... var pos = obj.name.IndexOf("("); // find...
View ArticleAnswer by nastajus
Had the following problem with the substring renaming. Dunno why it but permanently changed my prefab name, in such a way that didn't make sense, and wouldn't let me rename. I had to delete all my...
View Article
More Pages to Explore .....