Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fuqunaga/prefsgui-postprocessingurp
PrefsGUI extensions for URP PostProcessing
https://github.com/fuqunaga/prefsgui-postprocessingurp
postprocessing unity unity3d urp
Last synced: 23 days 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 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-09T01:55:02.000Z (over 1 year ago)
- Last Synced: 2025-01-02T03:46:54.135Z (about 2 months ago)
- Topics: postprocessing, unity, unity3d, urp
- Language: C#
- Homepage:
- Size: 119 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 instancesPrefix 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