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