Пример #1
0
 // TODO: Link this up with the UI.
 public void SelectTheme(Theme theme)
 {
     GameCache.LoadTileColor(theme.ToTileColor());
 }
Пример #2
0
        private void Awake()
        {
            GameCache.CurrentGridSize = GridSetup.Five_By_Five;

            GameCache.LoadTileColor(new Entity.TileColorSet(Color.white, Color.black, Color.grey));
        }
Пример #3
0
        public void UpdateTheme()
        {
            int themeIndex = scrollSnap.TargetPanel;

            GameCache.LoadTileColor(((Theme)themeIndex).ToTileColor());
        }