예제 #1
0
    public void LoadCities3()
    {
        allStateCities[2].Cities.startingItemList = ParseManager.GetCities(allStateCities[2].States.selectedTextMesh.text, false);
        allStateCities[2].Cities.ItemList         = allStateCities[2].Cities.startingItemList;
        allStateCities[2].Cities.UpdateList();

        linkMan.SetDispatchStateCity();
        linkMan.SetPickUpStateCity();
        linkMan.SetDropOffStateCity();
    }
예제 #2
0
    public void SetStates(List <string> allStates)
    {
        for (int i = 0; i < allStateCities.Count; i++)
        {
            allStateCities[i].States.startingItemList = allStates;
            allStateCities[i].States.ItemList         = allStates;
            allStateCities[i].States.UpdateList();

            allStateCities[i].Cities.startingItemList = ParseManager.GetCities(allStateCities[i].States.selectedTextMesh.text, false);
            allStateCities[i].Cities.ItemList         = allStateCities[i].Cities.startingItemList;
            allStateCities[i].Cities.UpdateList();
        }
    }