Skip to content
Jack Brookes edited this page May 30, 2018 ยท 28 revisions

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.

The UI itself is a child GameObject of [UXF_Rig] and components of the UI can be customised in the attached ExperimentStartupController component.

Settings selector

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 json. This will be converted into a Settings object, which will be stored in the Session component, accessible in code via session.settings["key"]. See the settings system page for more information.

๐Ÿง  Core topics

โ“ More help


๐Ÿ‘ฉโ€๐Ÿ’ป Programming reference

Unit tests

Clone this wiki locally