Beispiel #1
0
    private void OnGetBack2Spawner()
    {
        step      = STEP.CHANGED;
        count     = 0;
        deltaTime = 0f;
        SpawnerDesc spawner = BrickManager.Instance.GetSpawner(MyInfoManager.Instance.GetRoundingSpawnerType(), MyInfoManager.Instance.Ticket);

        if (spawner != null)
        {
            VerifyLocalController();
            if (clockbombkill)
            {
                if (equipcoord != null)
                {
                    equipcoord.DeleteClcokBomb();
                }
                clockbombkill = false;
            }
            GlobalVars.Instance.DropedWeaponAllClear();
            PaletteManager.Instance.Switch(on: false);
            if (localController != null)
            {
                localController.Respawn(spawner.position, Rot.ToQuaternion(spawner.rotation));
            }
            VoiceManager.Instance.Play("Ingame_Ready_combo_1");
        }
    }