/// <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); } }
/// <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); }
private void OnBtnViewMailDetailClick(GameObject btnViewDetail) { EngineCoreEvents.AudioEvents.PlayAudio.SafeInvoke(Audio.AudioType.UISound, GameCustomAudioKey.mail_openletter.ToString()); MailUILogic.OnBrowseDetailMail(this.m_mailIndex); }