Interlude.Tick.Extra.DebugUI.RectField
interludesoftware.tick¶
Interlude.Tick.Extra.DebugUI¶
RectField Class¶
Inheritance System.Object → RectField
Methods¶
RectField.Do(UI, string, Rect, float) Method¶
Draws a two-row rect editor: top row = X/Y, bottom row = W/H. Returns true if the value changed.
Parameters¶
ui UI
value UnityEngine.Rect
step System.Single
Returns¶
RectField.DoLabelled(UI, string, string, Rect, float) Method¶
Draws a labelled two-row rect editor. Returns true if the value changed.
public static bool DoLabelled(Interlude.Tick.UI ui, string id, string label, ref Rect value, float step=0.1f);
Parameters¶
ui UI
label System.String
value UnityEngine.Rect
step System.Single