A capital idea

The transform component is listed as Transform with an uppercase T. When we refer to it in code, we use a lowercase "t". In the Language Reference, it has an uppercase "T" again. But, if you've already made the mistake of using an uppercase "T" in your code, Unity threw you an error in the console window. What gives?

Unity's language is case sensitive, which means that a word with a capital letter is treated as a completely different thing than the same word with a small letter. So, "transform" and "Transform" are as different from each other as the words "night" and "day".

Capital "T" Transform is a class. A class is like a blueprint that you use to make other things. You might implement power-ups in your keep-up game. Your capital ...

Get Unity 3D Game Development by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.