Skip to content
Dominik Winkelbauer edited this page Jun 19, 2017 · 1 revision

GUI

GUI events like onclick() are invoked by United directly, so for getting them called on all cluster nodes simultaneously, we need to synchronize these events as well.

Adjust your project

You don't need to adjust your code, just add a NetworkIdentity component to all buttons whose onclick calls you'd like to synchronize.

What does not work?

  • At the moment only onClick events of buttons can be synchronized
  • Only listener which are registered at application start are synced

How it works

GUI events are synchronized in the same way as collision events

Clone this wiki locally