Behaviour# Behaviour

new Behaviour(name, Init, Update)

Creates a new Behaviour

Parameters:
NameTypeDefaultDescription
namestringNew Behaviour

Name of the Behaviour

Initfunction

Function called when the Behaviour is created

Updatefunction

Function called every frame