Beispiel #1
0
    public void OnClickEnding()
    {
        if (EndingGroupData == null)
        {
            return;
        }

        var data = new PopupGameEndingScene.PopupData(EndingGroupData.id, EndingGroupData.ending_list[0], Refresh);

        PopupManager.Instance.ShowPopup(PopupManager.POPUP_TYPE.GAME_ENDING_SCENE, data);
    }
Beispiel #2
0
    public void OnClickEnding(int endingGroupId, int endingId)
    {
        var data = new PopupGameEndingScene.PopupData(endingGroupId, endingId, Refresh);

        PopupManager.Instance.ShowPopup(PopupManager.POPUP_TYPE.GAME_ENDING_SCENE, data);
    }