https://github.com/fuqunaga/prefsgui-postprocessingurp
PrefsGUI extensions for URP PostProcessing
https://github.com/fuqunaga/prefsgui-postprocessingurp
postprocessing unity unity3d urp
Last synced: 5 months ago
JSON representation
PrefsGUI extensions for URP PostProcessing
- Host: GitHub
- URL: https://github.com/fuqunaga/prefsgui-postprocessingurp
- Owner: fuqunaga
- License: mit
- Created: 2023-06-27T07:40:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-03T07:23:01.000Z (about 1 year ago)
- Last Synced: 2025-07-10T05:59:25.870Z (8 months ago)
- Topics: postprocessing, unity, unity3d, urp
- Language: C#
- Homepage:
- Size: 130 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PrefsGUI-PostProcessingURP
[](https://badge.fury.io/js/ga.fuquna.prefsgui.postprocessingurp)
[](https://openupm.com/packages/ga.fuquna.prefsgui.postprocessingurp/)
[PrefsGUI](https://github.com/fuqunaga/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.
[scoped registry]: https://docs.unity3d.com/Manual/upm-scoped.html
**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
1. Attach `PrefsVolumeBehaviour` to any GameObject.
2. Set the target `Volume` component in `PrefsVolumeBehaviour.volume`.
3. (Optional)Call **SetDefaultValueFromVolume** from the `PrefsVolumeBehaviour` context menu to set the `Volume` values to the default values in the PrefsGUI.
*If `PrefsVolumeBehaviour` is attached to the same GameObject as the `Volume`, it is done automatically.

1. Follow the [RosettaUI](https://github.com/fuqunaga/RosettaUI) steps to display the PrefsVolumeBehaviour UI.
See [Example](Assets/Example/PrefsVolumeBehaviourExample.cs).
# Tips
## Changing Prefs keys for multiple instances
Prefix keys can be added or changed in batches from the editor window.
See [PrefsGUI.EditorWindow](https://github.com/fuqunaga/PrefsGUI#editorwindow).
# Reference
- [PrefsGUI](https://github.com/fuqunaga/PrefsGUI) - Accessors and GUIs for persistent preference values using a JSON file
- [RosettaUI](https://github.com/fuqunaga/RosettaUI) - Code-based UI library for development menus for Unity