This version of Unity is unsupported.

CanvasScaler.SetScaleFactor

Declaration

protected void SetScaleFactor(float scaleFactor);

Parameters

scaleFactor The scale factor to use.

Description

Sets the scale factor on the canvas.