TransformExtensions.SetLocalEulerAnglesZ

Extension Method in TransformExtensions

Declaration

public static void SetLocalEulerAnglesZ(this Transform transform, float z)

Description

Sets the local euler angles of the transform in the z-axis.

Parameters

transformThe transform to set the local euler angles of.
zThe z-axis euler angle to set.