Exemple #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();
    }
Exemple #2
0
    void Start()
    {
        UIPanelManager panelManager = UIPanelManager.Instance;

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

        panelManager.PushPanel(UIPanelType.Game);
    }