public void hideSceneForm(UISceneFormID ID) { SceneForm win = null; if (m_dicForm.ContainsKey(ID)) { win = m_dicForm[ID]; if (win != null) { if (win.bVisible) { win.onHide(); } } } }
public void readySceneForm(UISceneFormID ID) { SceneForm win = null; if (m_dicForm.ContainsKey(ID)) { win = m_dicForm[ID]; if (win != null) { if (!win.bReady) { win.onReady(); } } } }
public void exitSceneForm(UISceneFormID ID, bool bremoved = true) { SceneForm win = null; if (m_dicForm.ContainsKey(ID)) { win = m_dicForm[ID]; if (win != null) { win.onExit(); if (bremoved) { m_dicForm.Remove(ID); } } } }
public SceneForm showSceneForm(UISceneFormID ID) { SceneForm win = null; if (m_dicForm.ContainsKey(ID)) { win = m_dicForm[ID]; if (win != null) { if (!win.bReady) { win.onReady(); } if (!win.bVisible) { win.onShow(); } } } return(win); }