Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
Set or replace a timer, with target time, done action/script, looping or not, and enabled or not
Parameters:
- name
- A string value
- targTime
- A float value
- doneScript Optional
- A string value
- loop Optional
- A boolean value
- enabled Optional
- A boolean value
Example:
1 | obj.setTimer(name, targTime, doneScript, loop, enabled) |