protected virtual void Update() { if (!gameUnit.isInGame) { return; } if (BoltNetwork.isServer && serverStarted) { gameUnit.ServerUpdate(); gameUnit.ServerAndClientUpdate(); } else if (clientStarted) { gameUnit.ClientUpdate(); gameUnit.ServerAndClientUpdate(); } }