unity how to get transform scale code example
Example: unity how to get transform scale
// This returns the scale of the object the script is attached to.
transform.localScale
// This returns the scale of the object the script is attached to.
transform.localScale