For example, if I instantiate an object and then change the name of it in the hierarchy (ie changing [Object.name][1]) does this need to be removed in a production version?
If I wanted to remove " (clone)" from the name of an instantiated object this would require me to parse, split and reassign a string. It can make things much prettier when working in the editor but is completely unnecessary in a production build.
Do I have to remove this or will Unity recognize that changing the hierarchical name of an object is meaningless to the build and ignore it?
[1]: https://docs.unity3d.com/ScriptReference/Object-name.html
↧