public DefaultUIBase CreateUI(DefaultUIBase Prefab) { DefaultUIBase UI = null; UI = Instantiate <DefaultUIBase>(Prefab); UI.transform.SetParent(m_Canvas[(int)UI.DispZ].transform, false); UI.Init(); return(UI); }
public void EntryUI(DefaultUIBase UI) { EntryDispObj(UI.gameObject, UI.DispZ); }