UICanvas(IInputContext, IEventBus) Constructor
Definition
Namespace: Brine2D.UI
Creates a canvas that can auto-track WindowResizedEvent on eventBus when AutoResizeToWindow is set to true. The event bus is captured but no subscription is created until AutoResizeToWindow is explicitly opted into — presence of an event bus alone no longer implies automatic resize tracking.
Parameters
input IInputContext
eventBus IEventBus