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