new ScriptBase(context, object3D, variables)
Skeleton of a game context script, different Context.EVENT
are trigger by Context
Parameters:
Name | Type | Description |
---|---|---|
context | Context | context of this script |
object3D | Object3D | object3D bind (attach) to this script |
variables | object | custom variables bind (attach) to this script |
- Source