Ejemplo n.º 1
0
    public void ContinueRun()
    {
        var listOfActiveRuns = GetListOfActiveRuns();

        if (listOfActiveRuns.Count == 0)
        {
            Debug.LogWarning("no open runs --- Continue should not have been shown");
        }
        else if (listOfActiveRuns.Count == 1)
        {
            dM.LoadDateOrSetDate(listOfActiveRuns[0]);
            vM.LoadCurrentValuesFromPrefs(listOfActiveRuns[0]);
            sL.LoadSceneByName("Before Check");
            return;
        }
        else
        {
            ShowRunSlots();
        }
    }