Esempio n. 1
0
    // 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);
    }
Esempio n. 2
0
    // 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);
    }
Esempio n. 3
0
    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);
    }