- Home /
This question was
closed Apr 30, 2013 at 06:48 AM by
Fattie for the following reason:
Duplicate Question
Question by
davidc · Apr 30, 2013 at 05:25 AM ·
javascriptaifunctionhealth
Player Health drops fast, how to pause after damage
hey guys, so ive got a function that triggers the damage function (located on another script) when my enemy collides with my player, how do i pause the function so my player can become invincible for a few seconds. like what happens in mario?
Comment
use Invoke() for simple timers in Unity. please search on here for hundreds of questions Invoke(), health, etc. also unityGE$$anonymous$$S.com for beginner articles on program$$anonymous$$g