예제 #1
0
    void Reset()
    {
        InitGame();

        StageCreater scripts = GameObject.Find("StageCreater").GetComponent <StageCreater> ();

        scripts.ResetStage();
    }
예제 #2
0
    //int width = 6;
    //int height = 6;

    //public int Width
    //{
    //    set
    //    {
    //        width = value;
    //    }
    //    get
    //    {
    //        return width;
    //    }
    //}

    //public int Height
    //{
    //    get
    //    {
    //        return height;
    //    }
    //}

    void Awake()
    {
        Instance = this;
    }