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

Inherits MonoBehaviour.

Public Types

enum class  SelectionItemType { Icon , Text }
 

Public Member Functions

void SetData (string[] arr, SelectionItemType type, Action< string > OnClick, Action OnCancel, Func< string, bool > SelectState, string str=null, string namePrefix=null, string nameSuffix=null, bool showPreview=true)
 
void SetTips (string str)
 
void RemoveSelect ()
 
void RefleshSelectItem ()
 
void SetActionBtn (Action ac, string text, bool isLanguageMgr=true)
 
void OnActionBtnClick ()
 
void OnPagePrev ()
 
void OnPageNext ()
 
void Cancel ()
 

Public Attributes

DebugPanel debugPanel
 
GameObject iconBtnPrefab
 
GameObject textBtnPrefab
 
GameObject nextBtn
 
GameObject prevBtn
 
UIButton actionBtn
 
GridLayoutGroup layout
 
Text tipsText
 
UIButton selectBtn
 
Transform poolTrans
 

Protected Member Functions

void MakeItem ()