IWidgetGuiConsumer
Public / Methods
WidgetGuiAttach
Attaches this object to the given WidgetGui instance.
As best practice, implementing classes should create their user interface components in this method and call IWidgetGui.PanelAdd accordingly.
The calls to WidgetGuiAttach resp. WidgetGuiDetach may be omitted, for example when running without a widget GUI overlay. Implementing classes must take this into account and should not rely on the premise that this method is always called.
WidgetGuiDetach
Detaches this object from its WidgetGui instance.
Implementing classes must remove all panels via IWidgetGui.PanelRemove that they have added to the widget GUI.