Exemple #1
0
    IEnumerator LeapCoroutine(FLeapCoroutine func, float sec)
    {
        for (float m_timer = 0; m_timer < sec; m_timer += (m_isDeltaTime) ? Time.deltaTime : 1 / 60)
        {
            yield return(0);

            func(m_timer / sec);
        }
    }
Exemple #2
0
 public void Add(FLeapCoroutine contents, int index)
 {
     m_contents.Add(contents);
     m_corFlg.Add(null);
 }