Exemplo n.º 1
0
    private IEnumerator <Step> Fn1()
    {
        Debug.Log("startTime:" + Time.time);
        yield return(StepPool.NewWaitTime(0.5f));

        Debug.Log("Time1:" + Time.time);
        yield return(StepPool.NewWaitFrame(2));

        Debug.Log("Time1:" + Time.time);
    }
Exemplo n.º 2
0
 private IEnumerator <Step> Fn2()
 {
     yield return(StepPool.NewWaitFrame());
 }