This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

VFXSpawnerCallbacks.OnPlay

Declaration

public void OnPlay(Experimental.VFX.VFXSpawnerState state, Experimental.VFX.VFXExpressionValues vfxValues, Experimental.VFX.VisualEffect vfxComponent);

Parameters

state The spawner state.
vfxValues The values of expression (input properties for a spawner block).
vfxComponent The visual effect.

Description

This method is invoked when Play is triggered on parent spawner system.