Esempio n. 1
0
 protected override void OnLoopGridValueChanged(UILoopGrid loopGrid, ILuaPanelItem item, int index)
 {
     if (LuaPanelItem != null)
     {
         LuaPanelItem.OnLoopGridValueChanged(loopGrid, item, index);
     }
 }
Esempio n. 2
0
        public override void OnClose()
        {
            if (LuaPanelItem != null)
            {
                LuaPanelItem.OnClose();
                LuaPanelItem = null;
            }

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

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