Open n3roxis opened 4 years ago
E.g. like this transform.globalScale = Vector3.one; Currently we can only set the local scale
transform.globalScale = Vector3.one;
This is difficult, since there are no extension properties in C# (yet). I could do transform.SetGlobalScale(Vector3.one) but I am not sure about that yet. Seems rather hacky. Will consider.
transform.SetGlobalScale(Vector3.one)
E.g. like this
transform.globalScale = Vector3.one;
Currently we can only set the local scale