Пример #1
0
 public void DoComment()
 {
     if (OCBridge.IsCommentAvailable())
     {
         PlayerPrefs.SetInt(PlayerPrefsKey.Comment, 1);
         OCBridge.JumpToComment();
     }
 }
Пример #2
0
    public void ShowCommentConfirm()
    {
        int comment = PlayerPrefs.GetInt(PlayerPrefsKey.Comment, 0);

        if (OCBridge.IsCommentAvailable() && currentPlayedLevel >= 5 && comment < 1)
        {
            this.ShowConfirm("", "LKCommentContent", "OnCommentConfirm");
            currentPlayedLevel = 0;
        }
    }