Multiplayer Synchronization
Entire state of Dragon Water comes from a single property - DragonWaterManager.Instance.Time
.
By default, time is automatically incremented inside DragonWaterManager.
If you need to synchronize it between players (e.g. for physics purposes to have identicial waves for everyone), you need to:
- disable Auto Time Simulation in Dragon Water Config and
- create custom updater script that will update and sync
DragonWaterManager.Instance.Time
with your server.
Floating Origins
If you manually change world origin in Wave Profile from code, you may also want to synchronize it over network.