Context logic
- Last UpdatedDec 04, 2023
- 1 minute read
You can set a script file as a context logic file with the XR Studio Graphic Context Editor.
-
This file is automatically included by the graphic context file and is loaded when loading the Graphic Context with the XR Studio.
-
The file can be used to script some non-standard behaviors and test them directly on the Graphic Context inside the tool without having to run the player.
In this section
This section contains a minimal set of context-related logic that you can include in context logic files.
-
In the Inspecting section, there's another code block that is often included in context logic files. This code block connects item inspect actions to item inspecting.
-
Sometimes, when the same code is repeated many times, it is useful to create a file with Script templates.