Table of Contents

Class BuildUIEvent

Namespace
MonkeyLoader.Resonite.Events
Assembly
MonkeyLoader.Resonite.Integration.dll

Abstract base class for all sorts of UI-generation events.

public abstract class BuildUIEvent : SyncEvent
Inheritance
BuildUIEvent
Derived
Inherited Members

Constructors

BuildUIEvent(UIBuilder)

Creates a new UI-generation event instance with the given FrooxEngine.UIX.UIBuilder.

protected BuildUIEvent(UIBuilder ui)

Parameters

ui UIBuilder

The FrooxEngine.UIX.UIBuilder to use while generating extra UI elements.

Properties

UI

Gets the FrooxEngine.UIX.UIBuilder that should be used to generate extra UI elements.

public UIBuilder UI { get; }

Property Value

UIBuilder

Remarks

The style and FrooxEngine.UIX.UIBuilder.Current target should be the same after handling the event.
Use FrooxEngine.UIX.UIBuilder.PushStyle() before making style changes, and revert them by using FrooxEngine.UIX.UIBuilder.PopStyle() once done.