TransformExtensions.SetLocalEulerAnglesY

Extension Method in TransformExtensions

Declaration

public static void SetLocalEulerAnglesY(this Transform transform, float y)

Description

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

Parameters

transformThe transform to set the local euler angles of.
yThe y-axis euler angle to set.