void ToPlayScene() { Dictionary <string, bool> options = new Dictionary <string, bool>() { { "highlight", highlight }, { "rotate", rotate } }; SingletonGame.Instance().CreateBoard(8, 8, GameMode.Default, options); Hide(); }
// called only once when scene is entered private void Awake() { CreateSpriteDictionary(); // store all the sprites into a dictionary variable SingletonGame.Instance(); }