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