ScriptBase

new ScriptBase(context, object3D, variables)

Skeleton of a game context script, different Context.EVENT are trigger by Context

Parameters:
NameTypeDescription
contextContext

context of this script

object3DObject3D

object3D bind (attach) to this script

variablesobject

custom variables bind (attach) to this script