Skip to content

fuqunaga/PrefsGUISyncForUNET

Repository files navigation

PrefsGUISyncUNET

PrefsGUI subset for synchronization over the network

SyncOverUNET

⚠️ UNet is depreciated by Unity.
if you use Mirror instead, please see PrefsGUISyncForMirror

Install

Install dependencies

Intall PrefsGUISyncUNET

Download a .unitypackage file from Release page.

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

EditorWindow
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

EditorWindow

  • Window -> PrefsGUI
  • You can set whether to synchronize with the sync toggle

Reference


About

PrefsGUI subset for synchronization over the network

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages