ObjectScript
Inherits \ Attribute
Attribute for attaching script to an object and its events
Properties
This object has no properties.
Methods
getScript Returns the Script member
Events
onInit Emitted when the universe is activated or when an object is created at play time. Note that an object's onInit() function is called anytime an object's script is edited at playtime. This means it can get called more than once so be careful if your onInit() code performs behviours that should only occur once globally.
onTick Emitted every frame