Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

VisualEffect.Reinit

Declaration

public void Reinit();

Description

Reintialize visual effect.

- Restores every system to its initial state.

- Resets the internal total time to zero.

- If VisualEffect.resetSeedOnPlay is true, this method recomputes a new random seed for the random value generator.

- Invokes VisualEffect.SendEvent with VisualEffect.initialEventID.