Invoke("ClearEffect", 0.05f); void ClearEffect() { light.enabled = false; lineRenderer.enabled = false; }
InvokeRepeating("ACC", 0, 1); void ACC() { spawnTime -= 0.05f; }
Invoke("ClearEffect", 0.05f); void ClearEffect() { light.enabled = false; lineRenderer.enabled = false; }
InvokeRepeating("ACC", 0, 1); void ACC() { spawnTime -= 0.05f; }