|
void | UpdateText (string newText) |
| Applies a new string to the radial button's text component.
|
|
void | UpdateIcon (Sprite newIcon) |
| Assigns a new sprite to the radial button's icon image.
|
|
void | UpdateName (string newName) |
| Updates the radial button with a new name.
|
|
void | UpdateDescription (string newDescription) |
| Updates the radial button with a new description.
|
|
void | EnableButton () |
| Enables the radial menu button.
|
|
void | DisableButton () |
| Disables the radial menu button.
|
|
void | SelectButton () |
| Selects this button.
|
|
void | DeselectButton () |
| Deselects this button.
|
|
void | RemoveRadialButton () |
| Deletes the radial menu button.
|
|
bool | ExistsOnRadialMenu () |
| Returns the existence of this information on a radial menu.
|
|
void | RemoveInfoFromRadialButton () |
| Removes this information from the current radial button.
|
|
void | OnClearButtonInformation () |
| [Internal] This function is subscribed to the OnClearButtonInformation callback on the radial button that this is assigned to.
|
|
|
int | GetButtonIndex [get] |
| Returns the index that the radial menu button is assigned.
|
|
bool | IsSelected [get] |
| Returns the state of this button being selected on the radial menu.
|
|
◆ UpdateDescription()
void UltimateRadialButtonInfo.UpdateDescription |
( |
string |
newDescription | ) |
|
|
inline |
Updates the radial button with a new description.
- Parameters
-
newDescription | The new string to apply to the radial button's description. |
◆ UpdateIcon()
void UltimateRadialButtonInfo.UpdateIcon |
( |
Sprite |
newIcon | ) |
|
|
inline |
Assigns a new sprite to the radial button's icon image.
- Parameters
-
newIcon | The new sprite to assign as the icon for the radial button. |
◆ UpdateName()
void UltimateRadialButtonInfo.UpdateName |
( |
string |
newName | ) |
|
|
inline |
Updates the radial button with a new name.
- Parameters
-
newName | The new string to apply to the radial button's name. |
◆ UpdateText()
void UltimateRadialButtonInfo.UpdateText |
( |
string |
newText | ) |
|
|
inline |
Applies a new string to the radial button's text component.
- Parameters
-
newText | The new string to apply to the radial button. |
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Plugins/Ultimate Radial Menu/Scripts/UltimateRadialButtonInfo.cs