- Home /
Question by
TheDreamEXE · Jun 04, 2015 at 02:01 PM ·
scriptingbasicseventlogic
Question about Coroutines/Time
So, I want to make a function that performs an action with an effect that will last for X amount of seconds, but has the timer reset if triggered to do so. This is probably a really simple answer that I'm overlooking, but how would I go about that? I've been messing with the WaitForSeconds() command under some if statements, but if I do that, I risk retriggering the event, when all I want to do is prolong it. Any thoughts?
Comment
Your answer