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