示例#1
0
    public override void rrmap()
    {
        calrect();
        Rect wrtmp = new Rect(wr.x - lena, wr.y - lena, lena, lena);

        VeuiEditor.refreshmap(gidlt, wrtmp);
        Debug.Log(wr);
        wrtmp.y = wr.y + wr.height;
        VeuiEditor.refreshmap(gidlb, wrtmp);

        wrtmp.x = wr.width + wr.x;
        //gidrb = VeuiEditor.regmap(wrtmp, this);
        VeuiEditor.refreshmap(gidrb, wrtmp);

        wrtmp.y = wr.y - lena;
        //gidrt = VeuiEditor.regmap(wrtmp, this);
        VeuiEditor.refreshmap(gidrt, wrtmp);

        wrtmp   = new Rect(wr.x - lena, wr.y - lena, lena, lena);
        wrtmp.y = wr.y + wr.height / 2 - lena / 2;
        //gidlm = VeuiEditor.regmap(wrtmp, this);
        VeuiEditor.refreshmap(gidlm, wrtmp);

        wrtmp.x = wr.width + wr.x;
        //gidrm = VeuiEditor.regmap(wrtmp, this);
        VeuiEditor.refreshmap(gidrm, wrtmp);

        wrtmp.y = wr.y - lena;
        wrtmp.x = wr.width / 2 + wr.x - lena / 2;
        //gidtm = VeuiEditor.regmap(wrtmp, this);
        VeuiEditor.refreshmap(gidtm, wrtmp);

        wrtmp.y = wr.y + wr.height;
        //gidbm = VeuiEditor.regmap(wrtmp, this);
        VeuiEditor.refreshmap(gidbm, wrtmp);
    }
示例#2
0
 public override void rrmap()
 {
     VeuiEditor.refreshmap(gid, wr);
 }