Esempio n. 1
0
    // Start is called before the first frame update
    void Start()
    {
        _instance = this;

        gamedatas = DataManager._instance.Get(DataType._gamedata) as gamedata;


        DataManager._instance.AddDataWatch(DataType._gamedata, OnRefresh);

        UIPanelManager panelManager = UIPanelManager.Instance;

        panelManager.PushPanel(UIPanelType.start);
        txt_gold.text = gamedatas.GameGoldValue.ToString();
    }
Esempio n. 2
0
    void Start()
    {
        UIPanelManager panelManager = UIPanelManager.Instance;

        panelManager.PushPanel(UIPanelType.MainMenu);
    }
Esempio n. 3
0
    void Start()
    {
        UIPanelManager panelManager = UIPanelManager.Instance;

        panelManager.PushPanel(UIPanelType.Game);
    }