コード例 #1
0
    private void Start()
    {
        width        = (int)(image.rectTransform.rect.width);
        height       = (int)(image.rectTransform.rect.height);
        map          = new MyCanvas(width, height, backGround);
        image.sprite = map.GetSprite();

        int size = GlobalAsset.mapSize;

        this.Griding(size, size);

        StartCoroutine(Test());

        GlobalAsset.smallMap = this;
    }