Class ScriptGui¶
Namespace: Apogee.DevTools
Assembly: Apogee.DevTools.dll
What scripts register for the dev tools: functions that draw each frame, and values to watch. The host calls
public static class ScriptGui
Inheritance¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Properties¶
CallbackCount¶
public static int CallbackCount { get; }
Property Value¶
Watches¶
The values scripts watch, by name, as text.
public static IReadOnlyDictionary<string, string> Watches { get; }
Property Value¶
IReadOnlyDictionary<string, string>
Methods¶
Clear()¶
Forgets every callback and watch (a host starting over, tests).
public static void Clear()
RunGui()¶
Calls the scripts' drawing functions. One that fails is logged and removed: it would only fail again every frame.
public static void RunGui()