Every Single ReservedName By Unity

Many of us here do what we can to write our scripts, but what the majority of us don’t 100% recall is the massive library of Unity’s entire list of reserved names. What I have in mind for this thread is to grow an accumulation of only reserved names that we as the noob programmer or the professional official can use as a quick reference guide. This is just a fast and contingent way for checking that you don’t accidentally use a reserved name that is not meant to be used and understand it when we do want to use it. We can then later on hyperlink these reserved names to Unity’s API or Manual if we choose so, but for now let’s start keep with what we have for now. It would be nice if this thread could be a group effort because of how massive this is, but I too will put all of my effort available from my abilities, into this.

If we can keep it alphabetical, that would be most appreciated. For example, this link by Microsoft (Keywords - C# reference | Microsoft Learn) lists many Keywords which are C# oriented ReservedNames. They too organized it in alphabetical order. For the time being, I am making a list to later share. Once built, I will post all that I know to this thread. Don’t be shy to repeat or comment something any time, after all Unity is huge. Just please, do try to keep what you say in the comments related to the thread. We creators all deserve some kind of aid for us to help ourselves.

I have a counter-offer, it is less work:

  • use namespaces, they invented it just for this
  • name your classes as specific as possible, avoid generic names

And you’ll be fine. And if you find that you used some important unity class name in your own file, you can just rename it instead of maintaining a second Unity Scripting Reference.

I’m particularly doing this for a visual scope and quick reference. It is easier to have a quick glance at a photo than it is to search up a word within a dictionary.

Unity doesn’t have any reserved names the way C# does. You can’t add your own ones.

Your list won’t be useful even at a quick glance, as there would be so many thousand names to scroll through that it’d be faster to just write the name and check if it compiles.

If you have a collision with a class name or variable name that already exists, the compiler error that’s right there in your IDE or console is very clear on what’s going on.