protected override void OnLoopGridValueChanged(UILoopGrid loopGrid, ILuaPanelItem item, int index) { if (LuaPanelItem != null) { LuaPanelItem.OnLoopGridValueChanged(loopGrid, item, index); } }
public override void OnClose() { if (LuaPanelItem != null) { LuaPanelItem.OnClose(); LuaPanelItem = null; } // TO CLine: lua gc }
protected override void OnLoopGridValueChanged(UILoopGrid loopGrid, ILuaPanelItem item, int index) { LuaMgr.Instance.LuaPanelMgr.OnLoopGridValueChanged(Prefab, loopGrid, item, index); }
private void onLoopGridValueChanged(GameObject go, ILuaPanelItem item, int index) { UILoopGrid loopGird = go.GetComponent <UILoopGrid>(); OnLoopGridValueChanged(loopGird, item, index); }
protected virtual void OnLoopGridValueChanged(UILoopGrid loopGrid, ILuaPanelItem item, int index) { }
public override void OnCreate() { LuaPanelItem = LuaMgr.Instance.LuaPanelMgr.NewPanelItem(PanelItemName, transform, gameObject); }