常用方法
常用方法
常用方法
常用方法
public static Coroutine DoAfterSeconds(this MonoBehaviour mb, float seconds, bool realTime, Action action) { if (realTime) { return(mb.DoAfter(new WaitForSecondsRealtime(seconds), action)); } else { return(mb.DoAfter(new WaitForSeconds(seconds), action)); } }