예제 #1
0
 /// <summary>
 /// 查看下一封
 /// </summary>
 /// <param name="btnViewNext"></param>
 public void OnBtnViewNextMailClick(GameObject btnViewNext)
 {
     EngineCoreEvents.AudioEvents.PlayAudio.SafeInvoke(Audio.AudioType.UISound, GameCustomAudioKey.mail_change.ToString());
     if (this.m_mailInfo.IsRead)
     {
         MailUILogic.OnBrowseDetailMail(this.m_currentMainIndex);
     }
     else
     {
         MailUILogic.OnBrowseDetailMail(++this.m_currentMainIndex);
     }
 }
예제 #2
0
 /// <summary>
 /// 查看前一封邮件
 /// </summary>
 /// <param name="btnViewPrevious"></param>
 private void OnBtnViewPreviousMailClick(GameObject btnViewPrevious)
 {
     EngineCoreEvents.AudioEvents.PlayAudio.SafeInvoke(Audio.AudioType.UISound, GameCustomAudioKey.mail_change.ToString());
     MailUILogic.OnBrowseDetailMail(--this.m_currentMainIndex);
 }
예제 #3
0
 private void OnBtnViewMailDetailClick(GameObject btnViewDetail)
 {
     EngineCoreEvents.AudioEvents.PlayAudio.SafeInvoke(Audio.AudioType.UISound, GameCustomAudioKey.mail_openletter.ToString());
     MailUILogic.OnBrowseDetailMail(this.m_mailIndex);
 }