Exemple #1
0
 /// <summary>
 /// アップデート処理
 /// </summary>
 private IEnumerator OnFading()
 {
     while (!m_fadeAction.IsEnd(this.m_fadeInfo))
     {
         m_fadeAction.OnUpdate(this.m_fadeInfo);
         yield return(null);
     }
     m_fadeAction.OnExit(this.m_fadeInfo);
     m_isActive = false;
 }
Exemple #2
0
    public void UpdateByFrame()
    {
        if (m_fadeAction.IsEnd(this.m_fadeInfo))
        {
            m_fadeAction.OnExit(this.m_fadeInfo);
            isActive = false;

            return;
        }
        m_fadeAction.UpdateByFrame(this.m_fadeInfo);
    }