ButtonActionsSkills
Adds right click functionality to the GC Button.
Implementation
Inheritance
.... --> Selectable --> ButtonActionsSkills
IEventSystemHandler --> IPointerClickHandler --> ButtonActionsSkills
IEventSystemHandler --> ISubmitHandler --> ButtonActionsSkills
Requires
Classes
Name
Description
Generic Unity Event of type GameObject
Fields
Name
Description
Contains the actions for the onClick event
Unity event of type ButtonClickedEvent
Unity event of type ButtonActionsEvent
Methods
Name
Description
Awake is called when the script instance is being loaded
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
This detects when a Button has been selected via a "submit" key you specify (default is the return key)
Called at the end of OnSubmit(BaseEventData)
Last updated