|
Adventure Creator 1.85.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2025
|
Public Member Functions | |
| void | OnSelect (BaseEventData eventData) |
| void | Setup (AC.Menu _menu, MenuElement _element, int _slot) |
| Syncs the component to a slot within a menu. | |
Protected Attributes | |
| AC.Menu | menu |
| MenuElement | menuElement |
| int | slot |
This component acts as a click handler for Unity UI Buttons, and is added automatically by UISlot.
| void AC.UISlotClick.OnSelect | ( | BaseEventData | eventData | ) |
Implementation of ISelectHandler
| void AC.UISlotClick.Setup | ( | AC.Menu | _menu, |
| MenuElement | _element, | ||
| int | _slot ) |
Syncs the component to a slot within a menu.
| _menu | The Menu that the Button is linked to |
| _element | The MenuElement within _menu that the Button is linked to |
| _slot | The index number of the slot within _element that the Button is linked to |