scale property

NotifyingVector3 get scale
inherited

The scale factor of this component. The scale can be different along the X, Y and Z dimensions. A scale greater than 1 makes the component bigger along that axis, and less than 1 smaller. The scale can also be negative, which results in a mirror reflection along the corresponding axis.

Implementation

NotifyingVector3 get scale => transform.scale;
set scale (Vector3 scale)
inherited

Implementation

set scale(Vector3 scale) => transform.scale = scale;