예제 #1
0
    void EndStep()
    {
        dice3DBox.Reset();
        dice3DBox.gameObject.SetActive(false);

        gameCanvas.ChangeStep(115);
        gameCanvas.nextStep.gameObject.SetActive(false);

        villagers.Reset();
        places.Reset();

        StartCoroutine(Utils.Chain(new List <IEnumerator>()
        {
            gameCanvas.effectLog.ApplyEffectsAsync(),
            villagers.EatAsync(),
            WaitX(1.5f, NextStep)
        }));
    }