示例#1
0
 public void TogglePause(bool pause)
 {
     if (pause)
     {
         m_scrollingObject.Pause();
     }
     else
     {
         m_scrollingObject.Play();
     }
 }
示例#2
0
文件: Fire.cs 项目: ninify13/GSTJ
        public void TogglePause(bool pause)
        {
            if (pause)
            {
                m_firePlayers[m_firePlayerIndex].Pause();
                m_scrollingObject.Pause();
            }
            else
            {
                m_firePlayers[m_firePlayerIndex].Play();

                if (m_scroll)
                {
                    m_scrollingObject.Play();
                }
            }
        }