private _CoWaitForSeconds ( float time, System.Action next ) : IEnumerator | ||
time | float | |
next | System.Action | |
return | IEnumerator |
private IEnumerator _CoWaitForSeconds(float time, Action next)
{
yield return new WaitForSeconds(time);
next();
}