EditorPanel.scale C# (CSharp) Méthode

scale() public méthode

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