Members
containingAtom :Atom
The atom that contains this script
Type:
- Source
Methods
declareAction(name, callback) → {ActionDeclaration}
Parameters:
Name | Type | Description |
---|---|---|
name | string | |
callback | function |
- Source
Returns:
- Type:
- ActionDeclaration
declareBoolParam(args) → {BoolParamDeclaration}
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
args | Object | Properties
|
- Source
Returns:
- Type:
- BoolParamDeclaration
declareFloatParam(args) → {FloatParamDeclaration}
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
args | Object | Properties
|
- Source
Returns:
- Type:
- FloatParamDeclaration
declareStringParam(args) → {StringParamDeclaration}
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
args | Object | Properties
|
- Source
Returns:
- Type:
- StringParamDeclaration
onFixedUpdate(fn) → {void}
Called every physics frame
Parameters:
Name | Type | Description |
---|---|---|
fn | function |
- Source
Returns:
- Type:
- void
onUpdate(fn) → {void}
Called every frame
Parameters:
Name | Type | Description |
---|---|---|
fn | function |
- Source
Returns:
- Type:
- void