public void Hide() { m_currState = EPageState.HIDE; m_pageInst.gameObject.SetActive(false); //Debug.LogError("call lua hide :(" + m_pageName + "Ctrl)"); Util.CallMethod(m_luaPageCtrl, "Hide"); }
public void Destroy() { m_currState = EPageState.CLOSE; GameObject.Destroy(m_pageInst); //Debug.LogError("call lua destroy :(" + m_pageName + "Ctrl)"); Util.CallMethod(m_luaPageCtrl, "Destroy"); }
public void Rest() { m_currState = EPageState.OPEN; m_pageInst.gameObject.SetActive(true); //Debug.LogError("call lua rest :(" + m_pageName + "Ctrl)"); Util.CallMethod(m_luaPageCtrl, "Rest"); }
public void Start() { m_currState = EPageState.OPEN; m_pageInst.gameObject.SetActive(true); AnchorUIGameObject(); Util.CallMethod(m_luaPageView, "Start", this.m_pageInst); Util.CallMethod(m_luaPageCtrl, "Start"); }
public void Start() { m_currState = EPageState.OPEN; m_pageInst.gameObject.SetActive(true); AnchorUIGameObject(); //Debug.LogError("call lua start :(" + m_pageName + "Ctrl)"); Util.CallMethod(m_luaPagePanel, "Start", this.m_pageInst); Util.CallMethod(m_luaPageCtrl, "Start"); }
static int set_m_currState(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); XPage obj = (XPage)o; EPageState arg0 = (EPageState)ToLua.CheckObject(L, 2, typeof(EPageState)); obj.m_currState = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_currState on a nil value" : e.Message)); } }
static int get_m_currState(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); XPage obj = (XPage)o; EPageState ret = obj.m_currState; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_currState on a nil value" : e.Message)); } }
public void Destroy() { m_currState = EPageState.CLOSE; GameObject.Destroy(m_pageInst); Util.CallMethod(m_luaPageCtrl, "Destroy"); }
public void Hide() { m_currState = EPageState.HIDE; m_pageInst.gameObject.SetActive(false); Util.CallMethod(m_luaPageCtrl, "Hide"); }
public void Rest() { m_currState = EPageState.OPEN; m_pageInst.gameObject.SetActive(true); Util.CallMethod(m_luaPageCtrl, "Rest"); }