Bartek Dragon Docs
You are here: Bartek Dragon Docs » Dragon Water » Multiplayer Synchronization

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.

Previous Next

Bartek Dragon Docs

Table of Contents

Dragon Water

  • About
  • Changelog
  • Getting Started

Documentation

  • Water Surface
  • Wave Profile
  • Material Profile
  • Underwater Profile
  • Dragon Water Config
  • Cutout Volumes
  • Ripple Effect
  • Local Wave Areas

URP

  • URP Render Feature

Physics

  • Floating Body

Scripting

  • Scripting API
  • Water Sampler
  • Water Behaviour

How-To

  • Build Optimization
  • Multiplayer Synchronization