3

Scene, Component, and GameObject Cheats

The Scene is a critical asset in Unity. You’ll make use of them frequently. A Scene is a collection of related GameObjects, and a GameObject is a collection of related Components. There’s an object hierarchy at work here. The Scene encapsulates the “world” or “level”, a 3D space where things exist. The concept of a thing is represented as a GameObject, a complete and self-contained entity with its own unique position, rotation, and scale in the Scene. And a Component represents one specific aspect or part of a GameObject. An object may exhibit many different but coordinated behaviors. A wizard character for an RPG, for example, will navigate around the environment, cast spells, take damage, and deal ...

Get How to Cheat in Unity 5 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.