Esempio n. 1
0
    public void Awake()
    {
        Regions   = new List <RegionConfigDataBase>((Resources.Load("Regions/RegionConfigs/selectablemissions_defaultbalancing") as ScriptableRegionDataBaseConfigs).RegionConfigs);
        selecters = new ViewList <RegionConfigDataBase, RegionSelecterButton>().Init(MakeView, delegate
                                                                                     { return(Target); }, Regions, RemoveView, Regions.Count);

        selection = new UniqueSelectionGroup <RegionConfigDataBase>().Init(selecters.GetItems(), OnUnSelectedSetView, OnSelectedSetView);
    }