The UI Assistant’s option settings and components allow you to quickly create options that enable your users to control different aspects of your project, such as UI scale, font size, language, etc.
The Option Syncer creates a link between an Option Entry and a required Selectable, allowing the Selectable to adjust its value to the Option Entry on enable, and control the Option Entry’s value when the user interacts with the Selectable.
The Option Entry updated via the Option Syncer.
The Text Mesh Pro UGUI that will display the Option Entry's name.
The Text Mesh Pro UGUI that will display the Option Entry's current value.
Set this to true if the Selectable used with this Option Syncer is not a Slider, Toggle, Dropdown, or Option Cycler.
Unity Events to be invoked when the Option Entry's value changes.
Sets the value of the Dropdown, Option Cycler, Slider, or Toggle without invoking On Value Changed events.
Updates options with the Option Entry's Localization Sets when the active Language changes.
The Option Cycler has a list of options, just like a dropdown, but keeps its silhouette constant by allowing users to cycle through its options via “next” and “previous” buttons.
When set to true, the Option Cycler will stop at both ends.
The orientation of the buttons responsible for changing options.
Text Mesh Pro UGUI that will display the selected option's text.
Image that will display the selected option's image.
The area to be clicked to set the previous option.
The area to be clicked to set the next option.
The set of options the Option Cycler will display.
Unity Events to be invoked when the Option Cycler's Value changes.
Adds a single new option to the end of the list.
Adds a list of option to the end of the list.
Removes all options from the list.
Sets the next option. Unless Clamp is set to true, the first option will be set instead of going out of range.
Sets the previous option. Unless Clamp is set to true, the last option will be set instead of going out of range.
Sets a specific option by index without invoking OnValueChanged events.
The index of the currently selected option.
The Options Builder allows you to effortlessly create an options interface for your project, simply by listing Option Entries under any number of categories.
When set to true, the main submenu will be visible by default.
Layout that will serve as the parent of a submenu's elements.
The Text Mesh Pro UGUI within the submenu template that will display the submenu's name.
Object within the submenu template that will be instantiated after the last Option Syncer.
The button that will be instantiated for functions and submenu access.
The Text Mesh Pro UGUI within the button template that will display the button's label.
Check this box if the template uses the UI Animator component.
Animation Profile used by all submenus.
Submenus that can be reached via the main submenu.
When set to true, submenus' names will require Localization Sets instead of strings.
Text to be displayed as the main submenu's header.
Text to be displayed on the button that returns to, or closes the main submenu.
Text to be displayed on the button that reverts to Option Entries' default values.
Text to be displayed on the submenu's button in the main submenu, as well as in its header.
Option Entries listed in the submenu.
Check this box to add a button to set Option Entries' default values.
Unity Events to be invoked when Open() is called.
Unity Events to be invoked when Close() is called.
Shows the main submenu.
Hides all submenus.
The Option Modifier is a simple utility component that allows you to change a selected Option Entry’s value without the use of a Selectable and Option Syncer combination.
The Option Entry whose value will be modified.
Sets the Option Entry's float value.
Sets the Option Entry's bool value.
Sets the Option Entry's int value.
The Option Settings window can be opened via the “Tools/UI Assistant” menu, or, by clicking on the “Open Option Settings” button at the bottom of related components.
A list of Option Entries added to the Option Settings asset. This is handled by the Option Settings editor; please do not add or remove any Option Entries yourself.
When set to true, Option Syncers' label texts will be set based on Option Entries' localized names.
Returns an array of Option Entry names listed in the Option Settings.
Option Entries contain data used by Option Syncers and Selectables. Create an Option Entry for every unique aspect of your project that you’d like users to be able to adjust to their taste.
Each Option Entry can store your custom float or bool value, or list of options (and the index of the selected option). Option Entries can also handle the UI Assistant’s most relevant settings: active Color Profile, active Scale Profile, Scale Interpolation, Font Size Interpolation, and active Language.
Click on the “Edit” button (gear icon) next to an Option Entry to open its editor, or, click on the “New Option Entry” button to create a new one – this will automatically open the editor.
Checking “Localize Options” in the Option Settings window will cause Option Syncers to set labels based on Localized Name instead of the Option Entry’s Name, as well as options (in the case of List-type Option Entries) based on Localized Options instead of Options.
The name of the asset.
Localization Set that contains the name of the asset in all Languages.
The type of the Option Entry. Determines which Selectables can control its value.
Selectable associated with this Option Entry, used to set this Option Entry's value.
Value referenced when RestoreDefaults() is called.
Value referenced when RestoreDefaults() is called.
Value referenced when RestoreDefaults() is called.
The format in which the Option Entry's value is displayed.
Determines whether the Option Entry has limits.
The minimum value of the clamped Option Entry.
The maximum value of the clamped Option Entry.
A list of strings representing the Option Entry's possible values.
A list of Localization Sets representing the Option Entry's possible values.
Clamps all values.
If there are multiple Option Syncers working with the same Option Entry, they will be updated when the source Option Syncer's value changes.
Sets all values to their defaults.
The Option Listener interface can be used to notify components about changes made to Option Entries.
Notifies the Listener about changes made to the Option Entry's float value.
Notifies the Listener about changes made to the Option Entry's bool value.
Notifies the Listener about changes made to the Option Entry's int value.