Tools

Sync Util

SyncUtil

Sync Utilities For UNET

Install

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.syncutil": "https://github.com/fuqunaga/SyncUtil.git"

⚠To Open Example Scenes
Please add all the scenes to Scenes In Build at the Build Settings.

Syncing Parameters

Primitive Members

Behaviour.enabled, GameObject active

Random Per Instance

Spawner, ServerOrStandAlone


auto regist spawnable prefab


Spawner: spawn prefabs
ServerOrStandAlone: disable chilren on client

Scene Load Helper


unload online/offline scene on hierarchy when application play

Latency Check, Delay Rendering


dynamic delay rendering according to network latency

LockStep, LockStepGPU

Recommend

https://github.com/nobnak/SyncTransform
https://github.com/fuqunaga/PrefsGUI/blob/master/README.md#syncoverunet

Reference

PreRendering https://github.com/nobnak/Gist/blob/master/PreRendering.cs