Reinit()
Reintialize visual effect.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
public void Reinit()
Remarks
-
Restores every system to its initial state.
-
Resets the internal total time to zero.
-
If _resetSeedOnPlay is true, this method recomputes a new random seed for the random value generator.
-
Invokes VisualEffect.SendEvent with VisualEffect.initialEventID.