-
Notifications
You must be signed in to change notification settings - Fork 48
Built in UI
The [UXF_Rig]
prefab contains all the functionality of UXF, including the included user interface. The UI allows researchers to setup the session prior to starting it. UXF can be used without a UI, if you want to initialise the session manually.
The UI itself is a child GameObject of [UXF_Rig]
and components of the UI can be customised in the attached ExperimentStartupController
component.
The settings selector system allows researchers to configure one or more set of parameters for use in the session. This could be things like the number of trials, some instructions text, the appearance of some stimuli, or any piece of information that your code can use to run the experiment.
The UI searches for files in the StreamingAssets folder in your Unity project or project or build. The files that match a custom string pattern (*.json
by default), populate the dropdown menu at the top of the UI. The researcher can then use the dropdown menu to select the file they wish to use. The files must contain valid json, this will then be deserialized into a Settings
object. These settings files can be added, removed or modified without changing any code, which speeds up iteration time.
After pressing the Start button on the UI, the settings will be stored in the Session
component, accessible in code via session.settings["key"]
. See the settings system page for more information.
The UXF Built in UI
๐ง Core topics
- ๐ Background
- โจ UXF 2.0
- โ๏ธ Compatibility
- ๐ถ๏ธ Oculus Quest Setup
- ๐ญ Concepts
- ๐ ๏ธ Get started
- ๐ Examples
- ๐ฅ๏ธ Built-in UI
- ๐ Session generation
- โฐ Events
- ๐ Data collection
- โ๏ธ Collect custom data
- ๐ Custom Data Handler
- ๐ Remote Data Collection
- ๐๏ธ WebGL DynamoDB setup
- ๐ Processing DynamoDB CSVs
- ๐ซ HTTP Post Setup
- ๐ง Settings system
- ๐๐ฝ Tracker system
- ๐ Logging system
โ ๏ธ Common issues- ๐ผ๏ธ Multi-scene experiments
- ๐บ Videos
- ๐จโ๐ Full written tutorial
- ๐ฆ Asset links
- ๐จโ๐ซ Unity tutorial links
- ๐ Useful code snippets
- ๐ก Programming ideas
- ๐งฎ Example R processing