Check out example codes for "unity set object scale". It will help you in understanding the concepts better.

Code Example 1

//gets the local scale of an object
vector3 local = transform.localScale;

//sets the local scale of an object
transform.localScale = new Vector3(scaleX,scaleY,scaleZ);

//gets the world scale of the object but is read only
vector3 world = transform.lossyScale;

Code Example 2

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

Learn ReactJs, React Native from