Пример #1
0
    public void EndGameEffect()
    {
        float delay = 1f;

        music.StopAfterDelay(serverController, delay + .15f);
        CoroutineHelper.DelayedCall(serverController, EndgamePlayShutdown, delay);
    }
Пример #2
0
    void EndScript()
    {
        endReached = true;
        TimeLogger.Log("Player use the GIVE UP button");

        Destroy(this.GetComponent <UnityEngine.UI.Button>());

        controller.CleanMovementGlowTiles();
        controller.CleanSoundGlowTiles();
        controller.Audio.PlayerDiedEffect();

        CoroutineHelper.DelayedCall(controller, controller.ReloadClient, 3.5f);

        uiController.SetActiveClientFooterGroup(false);
    }