Battle Talent  V11
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
CrossLink.VerticalContentItem< T > Class Template Reference

Inherits MonoBehaviour.

Public Member Functions

virtual void SetData (VerticalContentContainer< T > c, string t, List< T > d, DebugPanel dp, bool last)
 
void SpawnItem ()
 
virtual void RefleshItem ()
 
float GetGridDistance ()
 
virtual void GiveBack ()
 

Public Attributes

Text textTitle
 
RectTransform titleNodeTrans
 
RectTransform lineTrans
 
GridLayoutGroup layout
 
GameObject itemPrefab
 

Protected Member Functions

virtual void OnSelect (UIEvent ue)
 
virtual void HoverEnter (UIEvent ue)
 
virtual void HoverExit (UIEvent ue)
 
virtual void InitBtnContent (UIButton btn, T item)
 

Protected Attributes

VerticalContentContainer< T > container
 
Dictionary< UIEvent, T > btn2Data = new Dictionary<UIEvent, T>()
 
DebugPanel debug
 
string title
 
List< T > data
 
List< UIButtonitemList = new List<UIButton>()