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