Unity: How to create game options and settings for all render pipelines. No coding skills required!

Published: 06 January 2023
on channel: KAMGAM
311
1

With this asset you have only one API to interact with (or one ScriptableObject if you pref a code-free workflow). It does not matter which render pipeline you use. The tool makes sure everything is hooked up the right way.

Asset Store:
https://assetstore.unity.com/packages...`?aid=1100lqC54

Full disclaimer. This is a paid asset. I use it to make all my game options and settings in my games (that's why it supports URP, HDRP and BuiltInt out of the box).

Features
✔️ URP, HDRP and Built-in supported
✔️ Old and new input system supported
✔️ Lots of predefined settings (full list below)
✔️ Mouse & keyboard, controller & gamepad, touch supported
✔️ Edit and save key-bindings (supports the OLD and the NEW input system)
✔️ No coding skills required (Scriptable Object based workflow)
✔️ Prefab based UI (easy to tweak). In fact you are getting a whole modular UI library. You don't like it? Well, okay, no problem. It's built to be ripped out if need be.
✔️ Localization built-in (easy to extend with assets like "I2 Localization")
✔️ Saves the user settings in PlayerPrefs (easy to change via code if needed)
✔️ Scripting API (for the coders among you)
✔️ Full Source Code included!
✔️ Supports Unity 2020, 2021, 2022, ... (It may work in Unity 2019 too but that's not officially supported.)

⚠️ Settings like "Gamma", "Ambient Occlusion" or "Motion Blur" are post processing effects. If you use the Built-in renderer you will have to install the PostProcessing Stack (V2) from the package manager (it's a free package from Unity). Don't use Built-In PostPro on mobile. It's very hit and miss. Use the URP renderer instead. It comes with its own PostProcessing stack and that one works on mobile too.

⚙ List of Settings (beware it's along one)
There is an extensive list of predefined custom settings. You can also invent your own or simply hook up a primitive type with any method in your game. All of them support HDRP, URP and Built-in renderers.

Basic Types: Bool, Int, Float, String - Generic settings to easily create custom settings.

Colors - Save and load any color value.

ColorOptions - Let the user pick from a list of colors.

Options - If you want the player to choose only from a limited set. You give it a list of names (A, B, C) and it tells you with an index (0,1,2) which option the player selected.

Key Combination - Used for key-bindings for example. Supports old and new key codes and key combinations. Ctrl + Alt + F4 is NOT supported ;-)

Ambient Light - Controls the ambient light intensity.

Ambient Occlusion (SSAO) - On/Off for Screen Space Ambient Occlusion. Please check the manual, there are some caveats with this one.

Anti Aliasing - Selectable options are based on your renderer settings.

Audio Paused - On/Off for Audio: Pauses the Audio Listener (useful for global audio on/off).

Audio Volume - Controls the Audio Listener volume (useful for global audio volume).

Audio Source Volume - Controls the volume of one or more specific AudioSource Components.

Bloom - On/Off for the bloom post processing effect.

Depth Of Field - On/Off for the depth of field post processing effects.

Frame Rate - Options to control the target frame rate. Default options are: 30, 60 and 120.

Full Screen - On/Off of for full screen mode.

Gamma - Range for the gamma correction post processing effect (-1 to +1).

Motion Blur - On/Off for the motion blur post processing effect. Notice: URP does not have a per-object motion blur. More on that in the manual. Quality - Changes the global quality setting. Options are taken from the graphics quality settings automatically.

Refresh Rate - Options for monitor refresh rates. Options are taken from the refresh rates supported by the monitor.

Resolution - Options for the game resolution. Options are taken from the resolutions supported by the monitor.

Shadow - On/Off for shadows (and contact shadows if you use HDRP).

Shadow Distance - Options for max shadow distance. The options are based on your graphics quality settings.

Shadow Resolution - Options for max shadow map resolutions.

Textfield - Let the player enter a name or something else.

Texture Resolution - Options for texture resolutions. The default options are: full-res, 1/2 res, 1/4 res, 1/8 res.

Vignette - On/Off for the vignette post processing effect.

V-Sync - On/Off for vertical sync.

Window Mode - Use this if you need more control than just "full screen on/off". Otherwise use the "Full Screen" setting. You rarely need this.

The setting you need is not in the list? 😱

Please let me know. New settings are added constantly based on user suggestions.

Hope you'll like it :-)


Watch video Unity: How to create game options and settings for all render pipelines. No coding skills required! online without registration, duration hours minute second in high quality. This video was added by user KAMGAM 06 January 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 311 once and liked it 1 people.