Adds right click functionality to the GC Button.
public class ButtonActionsSkills : Selectable, IPointerClickHandler, ISubmitHandler
.... --> Selectable --> ButtonActionsSkills​
​IEventSystemHandler --> IPointerClickHandler --> ButtonActionsSkills​
​IEventSystemHandler --> ISubmitHandler --> ButtonActionsSkills​
Name | Description |
​ButtonActionsEvent​ | Generic Unity Event of type GameObject |
Name | Description |
​actions​ | Contains the actions for the onClick event |
​onClickRight​ | Unity event of type |
​onClick​ | Unity event of type |
Name | Description |
​Awake()​ | Awake is called when the script instance is being loaded |
​OnValidate()​ | This function is called when the script is loaded or a value is changed in the Inspector (Called in the editor only) |
Use this callback to detect clicks | |
​OnSubmit(BaseEventData)​ | This detects when a Button has been selected via a "submit" key you specify (default is the return key) |
​OnFinishSubmit()​ | Called at the end of OnSubmit(BaseEventData) |
​Press()​ | Called when an onClick event is fired |
​PressRight()​ | Called when an onClickRight event is fired |