Beispiel #1
0
    private void saveCurrentState()
    {
        // add to history
        history.Add(new Dictionary <string, WeekTimetable>()
        {
            { "currentWeek", currentWeek.Clone() },
            { "nextWeek", nextWeek.Clone() }
        });

        Debug.LogWarning("CURRENT STATE SAVED, history count: " + history.Count);
    }