/// <summary> /// Sets the transform world space position z component. /// </summary> /// <param name="value">Value of z component.</param> public static void SetLocalPositionZ(this Transform transform, float value) { transform.localPosition = Vector3Utils.SetZ(transform.localPosition, value); }
/// <summary> /// Sets the transform world space position y component. /// </summary> /// <param name="value">Value of y component.</param> public static void SetPositionY(this Transform transform, float value) { transform.position = Vector3Utils.SetY(transform.position, value); }