private void OnPlayerInfoUpdated(PlayerInfo.Update update)
        {
            if (update.isAlive.HasValue)
            {
                switch (update.isAlive.Value)
                {
                case true:
                    EnableControls();
                    break;

                case false:
                    DisableControls();
                    break;
                }
            }
        }
        private void OnPlayerInfoUpdated(PlayerInfo.Update update)
        {
            if (update.isAlive.HasValue)
            {
                switch (update.isAlive.Value)
                {
                case true:
                    Resurrect();
                    break;

                case false:
                    Die();
                    break;
                }
            }
        }