|
When i Duplicate a GO it makes a copy with exactly the same name.. if i have references to that original object in my project and then edit the wrong one i mess things up. Why does it not make a new name with _copy or something? How can i tell what is the new one? Q
(comments are locked)
|
|
When you duplicate an object, the one that's currently selected immediately after duplication is the new one. This is reasonably standard behavior, but the lack of any name differentiation can indeed be confusing. Note that you can make your own duplicate command with different behavior...here's a quick & dirty Dupe command script, that duplicates a GameObject and adds "copy" to the end: Feel free to improve it, such as adding undo, and making multiple copies be appended with "copy 2", "copy 3", etc. ya especially when you clone numerous times.
May 30 '12 at 04:49 AM
flamy
Hey now i call that an answer and a solution!!! Thanks a lot! Now i just have to figure out what to do with this script. Why is the Manual not searchable? Q
May 30 '12 at 02:44 PM
qholmes
It is, use Google with site:unity3d.com. Anyway all you have to do is put the script in a folder called Editor.
May 30 '12 at 02:52 PM
Eric5h5
I get a parsing error 1,11 for this script? Q
May 30 '12 at 04:06 PM
qholmes
Not sure what you mean, the script doesn't have any errors.
May 30 '12 at 04:18 PM
Eric5h5
(comments are locked)
|

This seems like a good question. I hadn't noticed that before and tried it and it is just as you said.
Yes it drives me nuts.. I am in a jam right now i was experimenting with code and i used the wrong one and am now chasing references all around my project..