示例#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());
        }