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