|
bool | IsInAngle (float angle) |
| Returns true if the angle is within the range of this button.
|
|
void | OnEnter () |
| Invokes the functionality for when the input enters the button.
|
|
void | OnExit () |
| Invokes the functionality for when the input exits the button.
|
|
void | OnInteract () |
| Invokes the functionality for when the input interacts with the button.
|
|
void | OnSelect () |
| Invokes the functionality for when this button is selected.
|
|
void | OnDeselect () |
| Invokes the functionality for when this button is not selected anymore.
|
|
void | DisableButton () |
| Invokes the functionality for when button is disabled.
|
|
void | EnableButton () |
| Invokes the functionality for when button is enabled.
|
|
void | OnInputDown () |
| Invokes the functionality for when the input is down on the button.
|
|
void | OnInputUp () |
| Invokes the functionality for when the input is release on the button.
|
|
void | AddCallback (Action ButtonCallback) |
| Subscribes the provided function to the radial button interaction event.
|
|
void | AddCallback (Action< int > ButtonCallback) |
| Subscribes the provided function to the radial button interaction event.
|
|
void | AddCallback (Action< string > ButtonCallback) |
| Subscribes the provided function to the radial button interaction event.
|
|
void | RegisterButtonInfo (UltimateRadialButtonInfo buttonInfo) |
| [Internal] Registers the information to the quickbar button.
|
|
void | ClearButtonInformation () |
| Clears the button information.
|
|
void | ResetRadialButtonInformation () |
|
|
Vector3 | finalOffset |
|
UltimateRadialMenu | radialMenu |
|
RectTransform | buttonTransform |
|
Image | radialImage |
|
bool | buttonDisabled = false |
|
string | name |
|
string | description |
|
int | buttonIndex = -1 |
|
float | minAngle |
|
float | maxAngle |
|
float | angle |
|
RectTransform | iconTransform |
|
Image | icon |
|
bool | useIconUnique = false |
|
float | iconSize = 0.0f |
|
float | iconHorizontalPosition = 0.0f |
|
float | iconVerticalPosition = 0.0f |
|
float | iconRotation = 0.0f |
|
bool | invertScaleY = false |
|
Vector3 | iconNormalScale |
|
Text | text |
|
Vector3 | normalPosition |
|
Vector3 | highlightedPosition |
|
Vector3 | pressedPosition |
|
Vector3 | selectedPosition |
|
Vector3 | disabledPosition |
|
string | key |
|
int | id |
|
UnityEvent | unityEvent |
|
|
bool | Registered [get] |
| Returns the state of having information registered to this button.
|
|
bool | Selected [get] |
| Returns the current state of being selected.
|
|
|
Action | OnRadialButtonInteract |
|
Action< int > | OnRadialButtonInteractWithId |
|
Action< string > | OnRadialButtonInteractWithKey |
|
Action | OnClearButtonInformation |
|
◆ AddCallback() [1/3]
void UltimateRadialMenu.UltimateRadialButton.AddCallback |
( |
Action |
ButtonCallback | ) |
|
|
inline |
Subscribes the provided function to the radial button interaction event.
- Parameters
-
ButtonCallback | The action callback to call when this new button is being interacted with. |
◆ AddCallback() [2/3]
void UltimateRadialMenu.UltimateRadialButton.AddCallback |
( |
Action< int > |
ButtonCallback | ) |
|
|
inline |
Subscribes the provided function to the radial button interaction event.
- Parameters
-
ButtonCallback | The action callback to call when this new button is being interacted with. |
◆ AddCallback() [3/3]
void UltimateRadialMenu.UltimateRadialButton.AddCallback |
( |
Action< string > |
ButtonCallback | ) |
|
|
inline |
Subscribes the provided function to the radial button interaction event.
- Parameters
-
ButtonCallback | The action callback to call when this new button is being interacted with. |
◆ IsInAngle()
bool UltimateRadialMenu.UltimateRadialButton.IsInAngle |
( |
float |
angle | ) |
|
|
inline |
Returns true if the angle is within the range of this button.
- Parameters
-
angle | The current input angle. |
◆ RegisterButtonInfo()
[Internal] Registers the information to the quickbar button.
- Parameters
-
ButtonCallback | The Callback function to call when interacted with. |
buttonInfo | The information to apply to the button. |
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Plugins/Ultimate Radial Menu/Scripts/UltimateRadialMenu.cs