-
Notifications
You must be signed in to change notification settings - Fork 2
GameObject
Carlos Matheus edited this page Mar 26, 2018
·
1 revision
A game object is basically everything used in the game within a Scene. Game objects can be rendered, can be controllers for player life, player status ... just about anything.
Every game object inherits from the base class GameObject and every game object should implement the following methods.
start() - called once, when the game object is added in the scene
update() - called every frame
Every game object has only one attribute a Transform, which is a Component. Every game object can have many different components.