public void OnClickGo() { var mapId = snap.GetIndex() + 1; var map = mode.GetMapWithId(mapId); // stageCampaign.gameObject.SetActive(true); // stageCampaign.UpdateView(map); SceneManager.LoadScene("10.Stage"); gameObject.SetActive(false); }
public void OnClickGo() { var modeIndex = snap.GetIndex() + 1; var mode = collection.GetModeCampaignWithId(modeIndex); DataPlayer.GetModule <PlayerCampaign>().SetModePick(modeIndex); SceneManager.LoadScene("10.Map"); // uiModuleCampaign.InitOrUpdateView(mode); // uiModuleCampaign.gameObject.SetActive(true); gameObject.SetActive(false); }