void Update() { if (m_PageFooter.ButtonPushed) { if (m_iPagePre != m_PageFooter.Index) { ClosePage(m_PageNow, m_iPagePre); m_PageNow = m_PageBaseList [m_PageFooter.Index]; InitPage(m_PageNow, m_PageFooter.Index); m_iPagePre = m_PageFooter.Index; } m_PageFooter.TriggerClearAll(); } m_fCheckIntervalTime += Time.deltaTime; if (2.0f < m_fCheckIntervalTime) { m_fCheckIntervalTime -= 2.0f; RemoveAlarm(true); } if (m_timeComing.ButtonPushed) { m_timeComing.TriggerClear(); m_timeComing.Disappear(); //m_timeComing.gameObject.SetActive (false); SoundManager.Instance.StopAll(AUDIO_TYPE.SE); } }
void Update() { if (m_PageFooter.ButtonPushed) { if (m_iPagePre != m_PageFooter.Index) { ClosePage(m_PageNow, m_iPagePre); m_PageNow = m_PageBaseList [m_PageFooter.Index]; InitPage(m_PageNow); m_iPagePre = m_PageFooter.Index; } m_PageFooter.TriggerClearAll(); } m_fCheckIntervalTime += Time.deltaTime; if (2.0f < m_fCheckIntervalTime) { m_fCheckIntervalTime -= 2.0f; RemoveAlarm(true); } }