Answers for "Start timer with trigger"http://answers.unity.com/questions/731763/start-timer-with-trigger.html
The latest answers for the question "Start timer with trigger"Answer by Dreamorahttp://answers.unity.com/answers/733113/view.html
The problem with your code is that you use if(burn) only. If you do not want to restart the timer every frame again (which basing on the code could happen), you would need to have an
if (burn && timer <= 0.0)
To ensure that float inaccuracy does not hit you, I would set the timer to -1 when its reset to clearly mark it as 'not running', but you could instead use a second bool to track the timer being 'running' independent of using its timer valueMon, 23 Jun 2014 08:55:39 GMTDreamora