Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Debug
  5. setDebugMode

setDebugMode

Platform Compatibility

PC Mac OSX Oculus Quest
X X

Set debug mode on or off. When debug mode is on you can hold LEFT SHIFT and RIGHT CLICK on an object to open its debug information at runtime and edit its script.

Parameters:

  • _tf
    • A boolean value

Example:

1
obj.setDebugMode(_tf)
Tags
Was this article helpful to you? Yes No

How can we help?