![]() |
BomberUnits
...a Unity learning project
|
is implemented only with the management::MatchManager behaviour. It is responsible for starting and ending matches. In the future more responsibilities, such as keeping match time will be added.
The MatchManager subscribes to the PlayerDeath NetEvent, invoked by the owning client of a character, which can lead to the match end. Match start is also currently signaled via a NetEvent to the MatchManagers on all clients, which avoids having a PhotonView component (Overhead!)on the MatchManager.