In this example, why did he use OnTriggerEnter instead of OnTriggerStay? Is OnTriggerStay that much more expensive than OnTriggerEnter?
Nevermind. I finished the video and he switched to OnTriggerStay…
OnTriggerEnter triggers ONCE the collider collides with something. OnTriggerStay triggers as long as the collider is colliding.
Like in the video using OTEnter only resets the timer once, you have to get out of the colliders and reenter it to triger it again.