If u Instantiate a Clone and the name changes to cube(clone)(clone), is there a way to avoid this so that the new item just has the same name? I didnt even think about the name change function. ![]()
You can always modify the name variable of the object. Unity - Scripting API: Object.name.
Or what I do is keep a variable of the prefab that Iām cloning and then clone that rather then an already Instantiated object.
TY for the reply, i for the time being am using a bool to invoke a function a second later, cause the clone is first a child of an object so i am having to unparent it then clone it to a certain number then call the function to rename it. In theory though i wonder if i use the name change var in the update function it will turn back on its own when cloned? ![]()