public static FireTrail SpawnForDelorean(TimeCircuits delorean, bool is99 = false, float disappearTime = 45, int appearTime = 15, bool useBlue = true, int maxLength = 50) { var fireTrail = new FireTrail(delorean.Vehicle, is99, disappearTime, appearTime, useBlue, maxLength); fireTrails.Add(fireTrail); return(fireTrail); }
public static void RemoveTrail(FireTrail trail) { trail.Stop(); fireTrails.Remove(trail); }