// Start is called before the first frame update void Start() { Init(); ObjManager objmgr = Facade.Instance.GetManager <ObjManager>("ObjManager"); GameObject obj = objmgr.CreateAndLoadObj("firstpanel", "firstpanel"); objmgr.SetPanel(obj); }
// Use this for initialization void Start() { Init(); ObjManager objMgr = Facade.Instance.GetManager <ObjManager>("ObjManager"); GameObject panel_front = objMgr.CreateAndLoadObj("Panel_Begin", "Panel_Begin"); objMgr.SetPanel(panel_front); }
public void OnClickMidPanel() { ObjManager objmgr = Facade.Instance.GetManager <ObjManager>("ObjManager"); GameObject panel = objmgr.GetPanel("firstpanel"); panel.SetActive(false); GameObject obj = objmgr.CreateAndLoadObj("secondpanel", "secondpanel"); objmgr.SetPanel(obj); }