UNITY实现FLASH中的setTimeout

setTimeout是一个很方便的DELAY处理方法

 

if (this.startUpDelay > 0)
{
            StartCoroutine(DelayedStart());
}

 

private IEnumerator DelayedStart()
{
        yield return new WaitForSeconds(this.startUpDelay);
        //Activate();
}

posted on 2016-12-08 16:34  jiahuafu  阅读(859)  评论(0编辑  收藏  举报

导航