Interlude.Tick.Extra.DebugUI.Vector2Field
interludesoftware.tick¶
Interlude.Tick.Extra.DebugUI¶
Vector2Field Class¶
Inheritance System.Object → Vector2Field
Methods¶
Vector2Field.Do(UI, string, Vector2, float) Method¶
Draws a two-component vector field with X and Y axis cells. Returns true when any component changes.
Parameters¶
ui UI
value UnityEngine.Vector2
step System.Single
Returns¶
Vector2Field.DoLabelled(UI, string, string, Vector2, float) Method¶
Draws a label column followed by a two-component vector field. Returns true when any component changes.
public static bool DoLabelled(Interlude.Tick.UI ui, string id, string label, ref Vector2 value, float step=0.1f);
Parameters¶
ui UI
label System.String
value UnityEngine.Vector2
step System.Single