Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
onGlobalMessage triggers when a global message has been sent and this object receives it
Parameters:
- data
- A string containing data
Example:
1 2 3 4 5 | function onGlobalMessage(data) if data == "activate" then --Do something end end |