Skip to content

Interlude.Tick.Extra.DebugUI.BoundsField

interludesoftware.tick

Interlude.Tick.Extra.DebugUI

BoundsField Class

public static class BoundsField

Inheritance System.Object → BoundsField

Methods

BoundsField.Do(UI, string, Bounds, float) Method

Draws a two-row bounds editor: top row = Center X/Y/Z, bottom row = Size X/Y/Z. Returns true if the value changed.

public static bool Do(Interlude.Tick.UI ui, string id, ref Bounds value, float step=0.1f);

Parameters

ui UI

id System.String

value UnityEngine.Bounds

step System.Single

Returns

System.Boolean

BoundsField.DoLabelled(UI, string, string, Bounds, float) Method

Draws a labelled two-row bounds editor. Returns true if the value changed.

public static bool DoLabelled(Interlude.Tick.UI ui, string id, string label, ref Bounds value, float step=0.1f);

Parameters

ui UI

id System.String

label System.String

value UnityEngine.Bounds

step System.Single

Returns

System.Boolean