2D map radial menu UI
More...
|
ScriptInvokerVoid | GetOnMenuInitInvoker () |
|
ScriptInvokerMenuEntrySelected | GetOnEntrySelectedInvoker () |
|
ScriptInvokerMenuEntryPerformed | GetOnEntryPerformedInvoker () |
|
SCR_RadialMenuController | GetRadialController () |
|
SCR_MapRadialDisplay | GetRadialDisplay () |
|
vector | GetMenuWorldPosition () |
|
bool | OpenMenu () |
| SCR_RadialMenu event.
|
|
void | CloseMenu () |
| SCR_RadialMenu event.
|
|
void | OnEntrySelected (SCR_SelectionMenu menu, SCR_SelectionMenuEntry entry, int entryID) |
| SCR_RadialMenu event.
|
|
void | OnEntryPerformed (SCR_SelectionMenu menu, SCR_SelectionMenuEntry entry) |
| SCR_RadialMenu event.
|
|
void | InsertCustomRadialEntry (SCR_SelectionMenuEntry entry, SCR_SelectionMenuCategoryEntry category=null) |
| Insert own entry into the menu.
|
|
void | InsertCustomRadialCategory (SCR_SelectionMenuCategoryEntry entry, SCR_SelectionMenuCategoryEntry parent=null) |
| Insert own category into the menu.
|
|
SCR_SelectionMenuEntry | AddRadialEntry (string name, SCR_SelectionMenuCategoryEntry category=null) |
| Add simple entry.
|
|
SCR_SelectionMenuCategoryEntry | AddRadialCategory (string name, SCR_SelectionMenuCategoryEntry parent=null) |
| Add simple category.
|
|
void | RemoveRadialEntry (SCR_SelectionMenuEntry entry) |
| Remove entry.
|
|
override void | Update (float timeSlice) |
| Update method for frame operations.
|
|
override void | OnMapOpen (MapConfiguration config) |
| SCR_MapEntity event.
|
|
override void | OnMapClose (MapConfiguration config) |
| SCR_MapEntity event.
|
|
void | SCR_MapRadialUI () |
|
bool | IsConfigDisabled () |
|
void | SetActive (bool active, bool isCleanup=false) |
| Enable open/close events, called every time component is activated, usually on map open.
|
|
void | Init () |
| Init method for cases where all modules and components should be loaded already so constructor cannot be used, called once after creation.
|
|
void | Update (float timeSlice) |
| Update method for frame operations.
|
|
bool | IsToolMenuFocused () |
|
void | SCR_MapUIBaseComponent () |
|
◆ SCR_MapRadialUI()
void SCR_MapRadialUI.SCR_MapRadialUI |
( |
| ) |
|
◆ AddRadialCategory()
Add simple category.
- Parameters
-
- Returns
◆ AddRadialEntry()
Add simple entry.
- Parameters
-
- Returns
◆ CloseMenu()
void SCR_MapRadialUI.CloseMenu |
( |
| ) |
|
◆ GetInstance()
◆ GetMenuWorldPosition()
vector SCR_MapRadialUI.GetMenuWorldPosition |
( |
| ) |
|
◆ GetOnEntryPerformedInvoker()
ScriptInvokerMenuEntryPerformed SCR_MapRadialUI.GetOnEntryPerformedInvoker |
( |
| ) |
|
◆ GetOnEntrySelectedInvoker()
ScriptInvokerMenuEntrySelected SCR_MapRadialUI.GetOnEntrySelectedInvoker |
( |
| ) |
|
◆ GetOnMenuInitInvoker()
ScriptInvokerVoid SCR_MapRadialUI.GetOnMenuInitInvoker |
( |
| ) |
|
◆ GetRadialController()
◆ GetRadialDisplay()
◆ InputOpenMenu()
◆ InsertCustomRadialCategory()
Insert own category into the menu.
- Parameters
-
◆ InsertCustomRadialEntry()
Insert own entry into the menu.
- Parameters
-
◆ OnControllerChanged()
◆ OnControllerTakeControl()
◆ OnEntryPerformed()
◆ OnEntrySelected()
◆ OnInputMenuOpen()
void SCR_MapRadialUI.OnInputMenuOpen |
( |
float |
value, |
|
|
EActionTrigger |
reason |
|
) |
| |
|
protected |
Listener callback.
- Parameters
-
◆ OnMapClose()
◆ OnMapOpen()
◆ OpenMenu()
bool SCR_MapRadialUI.OpenMenu |
( |
| ) |
|
SCR_RadialMenu event.
- Returns
- false if cannot open due to not having any entries
◆ RemoveRadialEntry()
◆ Update()
override void SCR_MapRadialUI.Update |
( |
float |
timeSlice | ) |
|
◆ m_bEntriesUpdate
bool SCR_MapRadialUI.m_bEntriesUpdate = false |
|
protected |
◆ m_bRefresh
bool SCR_MapRadialUI.m_bRefresh |
|
protected |
◆ m_CursorModule
◆ m_Display
◆ m_OnEntryPerformed
ref ScriptInvokerMenuEntryPerformed SCR_MapRadialUI.m_OnEntryPerformed = new ScriptInvokerMenuEntryPerformed() |
|
protected |
◆ m_OnEntrySelected
ref ScriptInvokerMenuEntrySelected SCR_MapRadialUI.m_OnEntrySelected = new ScriptInvokerMenuEntrySelected() |
|
protected |
◆ m_OnMenuInit
ref ScriptInvokerVoid SCR_MapRadialUI.m_OnMenuInit = new ScriptInvokerVoid() |
|
protected |
◆ m_RadialController
◆ m_RadialMenu
◆ m_vMenuWorldPos
vector SCR_MapRadialUI.m_vMenuWorldPos |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Map/ComponentsUI/SCR_MapRadialUI.c