示例#1
0
        void ToPlayScene()
        {
            Dictionary <string, bool> options = new Dictionary <string, bool>()
            {
                { "highlight", highlight }, { "rotate", rotate }
            };

            SingletonGame.Instance().CreateBoard(8, 8, GameMode.Default, options);
            Hide();
        }
示例#2
0
    // called only once when scene is entered
    private void Awake()
    {
        CreateSpriteDictionary(); // store all the sprites into a dictionary variable

        SingletonGame.Instance();
    }