Exemplo n.º 1
0
    void Awake()
    {
        if (instance == null)
        {
            instance = this;
            DontDestroyOnLoad(gameObject);
        }
        roster = StarterDatabase.GetDictionary(0);

        activeRoster = new List <Character>();
        foreach (KeyValuePair <string, Character> c in roster)
        {
            activeRoster.Add(c.Value);
        }
        train = new Train();
    }