예제 #1
0
    private void ChangeSize(int width, int height)
    {
        RectGrid rectGrid = (RectGrid)target;

        rectGrid.SetSize(width, height);

        EditorUtility.SetDirty(target);

        image.Draw(rectGrid);
    }