// 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(); }
void Start() { UIPanelManager panelManager = UIPanelManager.Instance; panelManager.PushPanel(UIPanelType.MainMenu); }
void Start() { UIPanelManager panelManager = UIPanelManager.Instance; panelManager.PushPanel(UIPanelType.Game); }