TransformExtensions.SetLocalPositionZ
Extension Method in TransformExtensions
Declaration
public static void SetLocalPositionZ(this Transform transform, float z)
Description
Sets the local position of the transform in the z-axis.
Parameters
transform | The transform to set the local position of. |
z | The z-axis position to set. |