Skip to content

GameObject

Carlos Matheus edited this page Mar 26, 2018 · 1 revision

Overview

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.

Main Methods

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

Main Atributes

Every game object has only one attribute a Transform, which is a Component. Every game object can have many different components.

Clone this wiki locally