Exemplo n.º 1
0
    public void Replay()
    {
        // Save log before replaying.
        logtool.Replay();
        logtool.SaveLog();

        WaitingLinesStartingPoint.Clear();
        WaitingLinesEndingPoint.Clear();

        meshGenerator.ReGenerate(meshGenerator.CurrentLevel);

        WinCanvas.SetActive(false);
        LoseCanvas.SetActive(false);
        UserCanvas.SetActive(true);
    }