JavaScript API
globals
10 members
- deltaTimeseconds since last frame
- timetotal elapsed since start
- entityIdid of owning entity
- entityreference to self entity
- getComponent(type)unity-style accessor
- print(text)line of output
- sleep(milliseconds)
- makeDestructible(id?, config?)
- destroyMesh(id?, x?, y?, z?, force?)impact point + force
- resetDestruction(id?)