Exemplo n.º 1
0
        /// <summary>
        /// Initialize respawn Countdown.
        /// </summary>
        /// <param name="lastHit"></param>
        private void StartCountdown(Player lastHit)
        {
            if (!m_currentModeBase.AllowRespawn() && !IgnoreGamemode)
            {
                return;
            }

            m_coroutine = StartCoroutine(Countdown());
        }