Пример #1
0
 protected override void OnLoopGridValueChanged(UILoopGrid loopGrid, ILuaPanelItem item, int index)
 {
     if (LuaPanelItem != null)
     {
         LuaPanelItem.OnLoopGridValueChanged(loopGrid, item, index);
     }
 }
Пример #2
0
        public override void OnClose()
        {
            if (LuaPanelItem != null)
            {
                LuaPanelItem.OnClose();
                LuaPanelItem = null;
            }

            // TO CLine: lua gc
        }
Пример #3
0
 protected override void OnLoopGridValueChanged(UILoopGrid loopGrid, ILuaPanelItem item, int index)
 {
     LuaMgr.Instance.LuaPanelMgr.OnLoopGridValueChanged(Prefab, loopGrid, item, index);
 }
Пример #4
0
        private void onLoopGridValueChanged(GameObject go, ILuaPanelItem item, int index)
        {
            UILoopGrid loopGird = go.GetComponent <UILoopGrid>();

            OnLoopGridValueChanged(loopGird, item, index);
        }
Пример #5
0
 protected virtual void OnLoopGridValueChanged(UILoopGrid loopGrid, ILuaPanelItem item, int index)
 {
 }
Пример #6
0
 public override void OnCreate()
 {
     LuaPanelItem = LuaMgr.Instance.LuaPanelMgr.NewPanelItem(PanelItemName, transform, gameObject);
 }