标签:
Invoke("ClearEffect", 0.05f); void ClearEffect() { light.enabled = false; lineRenderer.enabled = false; }
InvokeRepeating("ACC", 0, 1); void ACC() { spawnTime -= 0.05f; }
定时调用与循环定时调用
原文地址:http://www.cnblogs.com/Akishimo/p/4758687.html