Reinit()
Reintialize visual effect.
阅读时间1 分钟最后更新于 21 天前
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 VisualEffect.resetSeedOnPlay is true, this method recomputes a new random seed for the random value generator.
-
Invokes VisualEffect.SendEvent with VisualEffect.initialEventID.