FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.UI.RadialMenu.RadialMenuOption Class Reference

Represents an option/choice that can be selected via the radial menu. More...

Public Attributes

bool isBackOption
 Indicates if this option is used to navigate back to the parent menu.
 
string name
 The display name of the option.
 
Sprite icon
 The icon that will be displayed for this option.
 
Color color = Color.white
 The color of the icon or text.
 
FontStyle fontStyle = FontStyle.Normal
 The style to apply to the text, if present.
 
string iconText
 Text displayed over the icon, should not be more then a few characters long, as there isn't much space here.
 
RadialMenuOptionsSet nested
 A nested set of options that this option leads to.
 
string linkToTrigger
 A link that will be triggered when this option is selected.
 
Action actionToTrigger
 An action that will be triggered when this option is selected. Dynamic script based menus only, cannot be set in inspector.
 
bool disabled
 If disabled is true, this option will be greyed out and will not be pressable/selectable by the user.
 

Detailed Description

Represents an option/choice that can be selected via the radial menu.

Member Data Documentation

◆ actionToTrigger

Action FMAR.UI.RadialMenu.RadialMenuOption.actionToTrigger

An action that will be triggered when this option is selected. Dynamic script based menus only, cannot be set in inspector.

◆ color

Color FMAR.UI.RadialMenu.RadialMenuOption.color = Color.white

The color of the icon or text.

◆ disabled

bool FMAR.UI.RadialMenu.RadialMenuOption.disabled

If disabled is true, this option will be greyed out and will not be pressable/selectable by the user.

◆ fontStyle

FontStyle FMAR.UI.RadialMenu.RadialMenuOption.fontStyle = FontStyle.Normal

The style to apply to the text, if present.

◆ icon

Sprite FMAR.UI.RadialMenu.RadialMenuOption.icon

The icon that will be displayed for this option.

◆ iconText

string FMAR.UI.RadialMenu.RadialMenuOption.iconText

Text displayed over the icon, should not be more then a few characters long, as there isn't much space here.

◆ isBackOption

bool FMAR.UI.RadialMenu.RadialMenuOption.isBackOption

Indicates if this option is used to navigate back to the parent menu.

◆ linkToTrigger

string FMAR.UI.RadialMenu.RadialMenuOption.linkToTrigger

A link that will be triggered when this option is selected.

◆ name

string FMAR.UI.RadialMenu.RadialMenuOption.name

The display name of the option.

◆ nested

RadialMenuOptionsSet FMAR.UI.RadialMenu.RadialMenuOption.nested

A nested set of options that this option leads to.


The documentation for this class was generated from the following file: