示例#1
0
    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);
    }
示例#2
0
    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);
    }