Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
Add a global script other objects can call on themselves, with an option to overwrite the script
Parameters:
- name
- A string value
- script
- A string value
- overwrite Optional
- A boolean value
Example:
1 | obj.addGlobalScript(name, script, overwrite) |