Awesome
PrefsGUI-PostProcessingURP
PrefsGUI extensions for URP PostProcessing.
Automatic generation of UI, changing parameters at runtime and saving their values.
Installation
This package uses the scoped registry feature to resolve package dependencies.
Edit > ProjectSettings... > Package Manager > Scoped Registries
Enter the following and click the Save button.
"name": "fuqunaga",
"url": "https://registry.npmjs.com",
"scopes": [ "ga.fuquna" ]
Window > Package Manager
Select MyRegistries
in Packages:
Select PrefsGUI - PostProcessingURP
and click the Install button
Usage
- Attach
PrefsVolumeBehaviour
to any GameObject. - Set the target
Volume
component inPrefsVolumeBehaviour.volume
. - (Optional)Call SetDefaultValueFromVolume from the
PrefsVolumeBehaviour
context menu to set theVolume
values to the default values in the PrefsGUI.
*IfPrefsVolumeBehaviour
is attached to the same GameObject as theVolume
, it is done automatically.
- Follow the RosettaUI steps to display the PrefsVolumeBehaviour UI.
See Example.
Tips
Changing Prefs keys for multiple instances
Prefix keys can be added or changed in batches from the editor window.
See PrefsGUI.EditorWindow.