EditorPanel.scale C# (CSharp) Method

scale() public method

public scale ( float xscale, float yscale ) : void
xscale float
yscale float
return void
    public void scale(float xscale, float yscale)
    {
        backgroundRect.w = backgroundRect.w * xscale;
        backgroundRect.h = backgroundRect.h * yscale;
        setTextAreaRect();
        setScrollDims();
    }