Exemplo n.º 1
0
 /// <summary>
 /// 解绑循环列表的点击事件
 /// </summary>
 public static void UnBindLoopListClick(LoopList eventHandler)
 {
     eventHandler.onClick = null;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 绑定循环列表点击事件
 /// </summary>
 public static void BindLoopListClick(LoopList eventHandler, Action <int> onClick)
 {
     eventHandler.onClick = onClick;
 }
Exemplo n.º 3
0
 /// <summary>
 /// 解绑循环列表赋值
 /// </summary>
 public static void UnBindLoopListEvent(LoopList eventHandler)
 {
     eventHandler.onSetValue = null;
 }
Exemplo n.º 4
0
 /// <summary>
 /// 绑定循环列表赋值
 /// </summary>
 public static void BindLoopListEvent(LoopList eventHandler, Action <int, LuaItem> onSetValue)
 {
     eventHandler.onSetValue = onSetValue;
 }