Interface IMenusComponent.IManagedInterface
Represents the managed interface implemented by its unmanaged counterpart.
public interface IMenusComponent.IManagedInterface : IUnmanagedInterface
- Inherited Members
Methods
Create(string, Vector2, byte, float, float)
Creates a new menu with the specified properties.
IMenu Create(string title, Vector2 position, byte columns, float col1Width, float col2Width)
Parameters
titlestringThe title of the menu.
positionVector2The position to display the menu.
columnsbyteThe number of columns (1 or 2).
col1WidthfloatThe width of the first column.
col2WidthfloatThe width of the second column (if applicable).
Returns
- IMenu
The created menu, or
nullif creation failed.
GetEventDispatcher()
Gets the event dispatcher for menu events.
IEventDispatcher<IMenuEventHandler> GetEventDispatcher()
Returns
- IEventDispatcher<IMenuEventHandler>
An event dispatcher for IMenuEventHandler events.