A colorful, multi-page settings menu that includes drop-downs, toggles, and sliders.
SettingsMenu.mp4
This sample does not include Nova, which must be imported before the sample can be used. After cloning the repo:
- Open the project in Unity. The project will have errors due to the missing Nova assets, so when prompted by Unity either open the project in Safe Mode or select
Ignore
. - Import the Nova asset into the project via the Package Manager.
- When selecting the files to import, be sure to deselect the Nova settings (
Nova/Resources/NovaSettings.asset
) as they are already included and configured for the sample.
- When selecting the files to import, be sure to deselect the Nova settings (
SettingsMenu
: The root-level UI controller responsible for displaying a list ofSettingsCollections
, where each collection is represented by a tab button in a tab bar. When one of the tabs in the tab bar is selected, its corresponding list of settings will be used to populate a set of UI controls.SettingsCollection
: A ScriptableObject containing a serialized list of Toggle, Slider, and/or Dropdown settings which are provided to theSettingsMenu
as the data source.
Scenes/SettingsMenu_Toon
: PC (Mouse), Mobile (Touch)Scenes/SettingsMenu_SciFi
: PC (Mouse), Mobile (Touch)
- Bangers Font: https://fonts.google.com/specimen/Bangers
- Electrolize Font: https://fonts.google.com/specimen/Electrolize