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

 

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

 

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

相关文章:

  • 2021-10-26
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2021-06-27
  • 2021-04-17
  • 2021-08-03
  • 2021-12-14
猜你喜欢
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2022-02-28
  • 2021-06-09
  • 2021-09-21
  • 2022-12-23
相关资源
相似解决方案