Check out example codes for "unity how to get transform scale". It will help you in understanding the concepts better.

Code Example 1

// This returns the scale of the object the script is attached to.
transform.localScale

Learn ReactJs, React Native from akashmittal.com