Working with objects is a class act

Throughout the book, we have been talking about objects without worrying too much about what exactly means or what it is. It can be confusing at first because we know what an object is in real life, it's practically everything that humankind has created, a phone, a computer, pen, paper, keyboard, keys, all these are objects, but can we say the same regarding Unity objects? To simplify the answer, everything that we put inside of our scene inside Unity, is an object.

It doesn't matter if it's the playable character or a background image; everything that we create or add inside the scene automatically becomes an object. In the virtual world of gaming, most people consider things they can see on the screen ...

Get Learning C# 7 By Developing Games with Unity 2017 - Third Edition 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.