OnUpdate(VFXSpawnerState, VFXExpressionValues, VisualEffect)
Unity invokes this method when a parent spawner system triggers Update.
阅读时间1 分钟最后更新于 21 天前
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
public abstract void OnUpdate(VFXSpawnerState state, VFXExpressionValues vfxValues, VisualEffect vfxComponent)
Parameters
The spawner state.
The values of expression (input properties for a spawner block).
The visual effect.
Remarks
Unity invokes Update even if VFXSpawnerState.playing is false.