Ignition / GenericHelpers

Namespace Playniax.Ignition.Framework

Class or component can be found in Assets/Playniax/Ignition/Framework/Scripts/GenericHelpers.cs

Class Timer


The Timer class is used by the spawners for example.

Public fieldsDescription
float timerTimer.
float interval = 0.15fInterval.
int counter = -1Countdown. -1 is endless.

Public MethodsDescription
bool Update(bool ignoreCounter = false)Update will return true when timer reaches zero and resets the timer.