I noticed today that if I select a prefab in the project pane, then tap on the empty area of the inspector pane, a script from my project is inserted into the prefab.
I have been seeing uninvited scripts in prefabs quite a bit, and I think this is where they come from. What is “H” supposed to be doing, and more importantly, can I turn it off somehow? I’ve made some terrible messes with this thing and my fat fingers.
I remember that in a previous version if a script had an underscore in the name, the letter after the underscore became a shortcut for adding that script. This has been fixed though, as far as I remember…
Was bugging me for a while because I had lots of scripts called GUI_this and GUI_that and weird stuff kept happening…
Check under Component > Scripts if any scripts have a shortcut assigned (shows as a letter on the right side of the menu)…
AHA! They DO have shortcut keys assigned. Looks like it’s scripts with underscores in them as well, so I guess this has not been fixed.
I have a lot of scripts with underscores in the file names, class names and references … and I’m on a short deadline now, so I guess I just have to live with it for this project.