My Project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Properties | List of all members
UltimateRadialButtonInfo Class Reference

Public Member Functions

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.
 

Public Attributes

UltimateRadialMenu.UltimateRadialButton radialButton
 
string key
 
int id
 
string name
 
string description
 
Sprite icon
 

Properties

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.
 

Member Function Documentation

◆ UpdateDescription()

void UltimateRadialButtonInfo.UpdateDescription ( string  newDescription)
inline

Updates the radial button with a new description.

Parameters
newDescriptionThe 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
newIconThe 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
newNameThe 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
newTextThe new string to apply to the radial button.

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