Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Scale

Creates a new Scale from a Vector2.
Read time 1 minuteLast updated 5 days ago

Definition

Scale(Vector2)

Creates a new Scale from a Vector2.
public Scale(Vector2 scale)

Parameters

scale

Scale(Vector3)

Creates a new Scale from a Vector3.
public Scale(Vector3 scale)

Parameters

scale

Remarks

Scaling in the Z axis is currently unsupported. Consequently, if a Z value different than 1.0f is provided, a warning is issued and the Z value is forced to 1.0f.