Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
onDestroy triggers when the object is about to be deleted
Example:
1 2 3 | function onDestroy() obj.sendGlobalMessage("I have been destroyed") end |
McMaster University Virtual Reality Simulation and Research
Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
onDestroy triggers when the object is about to be deleted
Example:
1 2 3 | function onDestroy() obj.sendGlobalMessage("I have been destroyed") end |