Battle Talent  V11
Public Member Functions | Public Attributes | Protected Member Functions | Events | List of all members
CrossLink.UIButton Class Reference

Inherits CrossLink.UIEvent.

Public Member Functions

void ResetLocalScale (Vector3 scale)
 
Text GetButtonText ()
 
void EnableHoverBreathing (bool isOn)
 
void EnableHoverState (bool isOn)
 
void PlayHoverBreathingAnim (bool isOn)
 
void RefleshChildColor ()
 
override void SetDisable (bool d)
 
override void Select ()
 
void SetSelect (bool isSelect)
 
bool IsImageEmpty ()
 
void SetTexture (Texture tex)
 
void SetSprite (Sprite sp)
 

Public Attributes

MaskableGraphic image
 
Text text
 
GameObject[] enabledObjs
 
Image selectImage
 
Color normalColor = Color.white
 
Color hoverColor = Color.white
 
Color disableColor = Color.white
 
UnityEvent select
 
IUIButtonData data
 
bool enabledScaleCoe = false
 
float selectScaleCoe = 1.4f
 
Text[] childTexts
 
Image[] childImages
 
float hoverBreathingTime = -1
 
SoundEffectInfo clickSound
 
float shinyTime = -1
 

Protected Member Functions

override void OnEnable ()
 
override void OnDisable ()
 
void Awake ()
 
override void HoverEnter ()
 
override void HoverExit ()
 
void PlayShinyAnim (bool isOn)
 

Events

System.Action< UIEventSelectEvent
 
System.Action< UIEventHoverEnterEvent
 
System.Action< UIEventHoverExitEvent
 

Additional Inherited Members