Ejemplo n.º 1
0
        public void RestartRound()
        {
            if (!isServer)
            {
                return;
            }

            StopCoroutine(tickCoroutine);
            NetworkManager.singleton.ServerChangeScene(SceneManager.GetActiveScene().name);

            ServerRoundRestarted?.Invoke();
        }
Ejemplo n.º 2
0
        // Ignore this for now
        public void RestartRound()
        {
            if (!isServer)
            {
                return;
            }

            if (started)
            {
                EndRound();
            }

            ServerRoundRestarted?.Invoke();
        }