GameObjectPrototype
Hierarchy
- Updatable
- GameObjectPrototype
Index
Properties
optional_handlesince: 3.1.1b127
By default, recurring schedule is set to 1 and performs indefinitely.
optionalinit
Function that is called when a new instance of GameObject is created, the engine passes all the arguments of GameObject.deploy function to this function.
Type declaration
Parameters
rest...args: any
Returns void
optionalloaded
optionalnoupdate
Determines can updatable be updated by calling update, useful when is needed to temporary freeze ticking logic.
optionalremove
Once true, the object will be removed from updatables list and will no
longer receive update calls.
Methods
update
Called every tick to execute pending updates.
Returns void
Updatables provide the proper way to manage objects that update their state every tick. Updatables may not be notified every tick, if there are too many, to avoid user interface freezes. Legacy variant of IUpdatable.