fuqunaga / PrefsGUISyncForMirror

Sync subset for PrefsGUI over Mirror

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PrefsGUISync For Mirror

Synchronization subset for PrefsGUI over Mirror.

Installation

Install Mirror

Install package via scoped registry

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 PrefsGUISync For Mirror and click the Install button

Usage

Put Packages/PrefsGUISync For Mirror/Runtime/PrefsGUISync.prefab to the scene.
PrefsGUISyncForMirror component inherits from NetworkBehaivour, so take steps to make it work(call Spawn() or put it on the online scene).

Now all prefs are automatically synchronized between the server and client!

Skip synchronization of specified prefs

Disable sync toggle at the EditorWindow(See the section below).
or set prefs's key to PrefsGUISyncForMirror.ignoreKeyList.

EditorWindow

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

Reference

About

Sync subset for PrefsGUI over Mirror

License:MIT License


Languages

Language:C# 99.8%Language:JavaScript 0.2%Language:Smalltalk 0.0%