Exemplo n.º 1
0
    void ShowWinScreen()
    {
        PlayerPrefs.SetInt(Global.Data_LevelCompleted, currentLevel);
        MessageDialogParam param = new MessageDialogParam
        {
            messageType = DialogMessageType.Win
        };

        DialogManager.Instance.ShowDialog(DialogIndex.MessageDialog, param, null);

        LevelView lvView = (LevelView)ViewManager.Instance.dicView[ViewIndex.LevelView];

        lvView.ActiveNewLevel(currentLevel);
    }