https://github.com/fuqunaga/prefsguisyncforunet
PrefsGUI subset for synchronization over the network
https://github.com/fuqunaga/prefsguisyncforunet
prefs sync unet unity
Last synced: 4 months ago
JSON representation
PrefsGUI subset for synchronization over the network
- Host: GitHub
- URL: https://github.com/fuqunaga/prefsguisyncforunet
- Owner: fuqunaga
- License: mit
- Created: 2019-12-04T09:30:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-13T08:58:40.000Z (almost 4 years ago)
- Last Synced: 2025-10-04T00:55:43.099Z (9 months ago)
- Topics: prefs, sync, unet, unity
- Language: C#
- Homepage:
- Size: 1.08 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# PrefsGUISyncUNET
PrefsGUI subset for synchronization over the network

:warning: [UNet is depreciated by Unity](https://support.unity.com/hc/en-us/articles/360001252086-UNet-Deprecation-FAQ).
if you use [Mirror](https://github.com/vis2k/Mirror) instead, please see [PrefsGUISyncForMirror](https://github.com/fuqunaga/PrefsGUISyncForMirror)
# Install
## Install dependencies
- **MultiPlayer HLAPI** from PackageManager
- [RapidGUI](https://github.com/fuqunaga/RapidGUI)
- [PrefsGUI](https://github.com/fuqunaga/PrefsGUI)
## Intall PrefsGUISyncUNET
Download a `.unitypackage` file from [Release page](https://github.com/fuqunaga/PrefsGUISyncUNET/releases).
or
**Using Pacakge Manager**
Add following line to the `dependencies` section in the `Packages/manifest.json`.
```
"ga.fuquna.prefsguisyncunet": "https://github.com/fuqunaga/PrefsGUISyncUNET.git"
```
# Usage

Put **PrefsGUISyncUNET** game object to the scene.
This inherits from `NetworkBehaivour`, so take steps to make it work(call `Spawn()` or put on the online scene).
All prefs are automatically synchronized between the server and client!
### Don’t want to sync some prefs
Disable sync toggle at the **EditorWindow**(See the section below).
or Set prefs's key to `PrefsGUISyncUNet.ignoreKeys` at the inspector.
# EditorWindow

- **Window -> PrefsGUI**
- You can set whether to synchronize with the sync toggle
# Reference
- **RapidGUI**
https://github.com/fuqunaga/RapidGUI
- **PrefsGUI**
https://github.com/fuqunaga/PrefsGUI