1. Home
  2. Docs
  3. Ignis
  4. Tutorials
  5. Pause the flames through script

Pause the flames through script

Example Use Case: You have a custom pause screen, but the flames will keep running if you do not pause them.

How to implement:

  1. Call FlameEngine.instance.PauseFlames() to pause
  2. Call FlameEngine.instance.ResumeFlames() to resume
Was this article helpful to you? Yes No

One thought on “Pause the flames through script

  1. Add namespace Ignis to your pause script. Also my pause with Time.timeScale = 0 was working. With this solution or timeScale the flame still moves a little.

Leave a Reply

Your email address will not be published. Required fields are marked *