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

Inherits MonoBehaviour.

Inherited by CrossLink.UIOptionCheckBox.

Public Member Functions

virtual void SetAction (System.Action< bool, string > cb)
 
bool IsCheck ()
 
void SetDisabled (bool disable)
 
void SetCheckState (bool state)
 
virtual void SetValue (string v)
 
virtual string GetValue ()
 
void UpdateState ()
 
virtual void OnClick (UIEvent ue)
 

Public Attributes

UIButton btn
 
Image trueImg
 
Image falseImg
 
Text tx
 
string activatedText
 
string inactivatedText
 
bool isCheck = false
 
UnityEvent active
 
UnityEvent inactive
 

Protected Member Functions

void Awake ()
 

Protected Attributes

bool isDisabled = false
 
string value
 
System.Action< bool, string > ClickCompeleted