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