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