Unity UI template for a button. More...
Public Member Functions | |
override void | Awake () |
virtual void | Assign (Sprite sprite, int count, string caption, List< QuestAction > actions) |
virtual void | Assign (Sprite sprite, Color color, int count, string caption, List< QuestAction > actions) |
virtual void | Assign (Sprite sprite, string caption, List< QuestAction > actions) |
virtual void | Assign (Sprite sprite, int count, string caption, UnityAction unityAction) |
virtual void | Assign (Sprite sprite, string caption, UnityAction unityAction) |
Public Member Functions inherited from PixelCrushers.QuestMachine.UnityUIIconTemplate | |
virtual void | Assign (Sprite sprite, int count, string caption) |
virtual void | Assign (Sprite sprite, Color color, int count, string caption) |
Public Member Functions inherited from PixelCrushers.QuestMachine.UnityUIContentTemplate | |
virtual void | Despawn () |
Protected Member Functions | |
virtual void | ExecuteActions () |
Properties | |
UnityEngine.UI.Button | button [get, set] |
Button UI element. | |
List< QuestAction > | actions [get, set] |
int | groupNumber [get, set] |
Group number this button belongs to, or -1 if none. | |
Properties inherited from PixelCrushers.QuestMachine.UnityUIIconTemplate | |
UnityEngine.UI.Image | image [get, set] |
Image UI element for icon's image. | |
UITextField | countText [get, set] |
Text UI element for count. | |
UITextField | captionText [get, set] |
Text UI element for icon's caption. | |
Unity UI template for a button.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from PixelCrushers.QuestMachine.UnityUIIconTemplate.
|
inlineprotectedvirtual |
|
getsetprotected |
|
getset |
Button UI element.
|
getset |
Group number this button belongs to, or -1 if none.
When one button in the group is clicked, the other buttons become non-interactable.