PrimitiveBoundsHandleDraw a rect handle (for Rect, RectInt) or bounds handle (for Bounds, BoundsInt) to adjust corresponding values of the field.
Parameters:
string space = "this": parent of the rect/bounds. When usingthis, use the current object as target space. When usingnull, use world space and no rotation at all. Otherwise, use the target field/callback as the parent.float posXOffset = 0f: local position offset at the x axisfloat posYOffset = 0f: local position offset at the y axisfloat posZOffset = 0f: local position offset at the z axisstring posOffsetCallback = null: use a field/callback as the local position offset. Must return a Vector3.EColor eColor = EColor.White: color of the handlefloat alpha = 1f: color's alpha of the handlestring color = null: use a color for the handle. If starts with#, a hex color is used. Otherwise, use the target field/callback which the value/return-value must be a Color.
using SaintsField; [PrimitiveBoundsHandle] public Rect rect; [PrimitiveBoundsHandle(eColor: EColor.Aqua)] public RectInt rectInt;
using SaintsField; [PrimitiveBoundsHandle] public Bounds bounds; [PrimitiveBoundsHandle(eColor: EColor.Aqua)] public BoundsInt boundsInt;