The pages for configuring experiments now support the browser back button and direct links to pages. The layout of the pages should now be more intuitive, and some minor quality-of-life improvements have been made.
The old layout is still available here but is deprecated.
Parameters and elements can now be overridden in the editor, to make things easier for testing. You can find the setting in the PlayUR -> Editor Overrides settings panel.
There is also a new C# attribute for fields in PlayURBehaviour
classes, which will automatically populate the field when the plugin is ready.
The latest release of PlayUR addresses some minor issues that users had.
The concept of parameter metadata has been added, allowing users to attach a description and expected type.
The previously out-of-date documentation has been regenerated to match the current version of the Unity plugin. This documentation will be further improved with guides and extra information added, and undocumented classes documented.
You can see the documentation here.
To ensure mispelt parameter names are caught at compile-time, you can now generate static strings fo parameter names using the PlayUR -> Regenerate Enums option. This will generate a static class called Parameters
which contains constants for each parameter name, which you can then use in your code.
Example usage in Unity: PlayURPlugin.instance.GetStringParam(Parameter.MessageToUser)
To reduce the number of clicks for users to get into an experiment, you can now enable auto-registration. This will automatically create a user account for the user when they first visit the experiment page.
You can now define a parameter as a list by typing []
after the parameter name. You will then be given an editor to add/remove/reorder items in the list.
You can now customize the look of the game page (and any ethics/login/register pages) by changing the settings on the Game page.
Header and footer text can be customized per-experiment/group as thes are defined by parameters.