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

VisualEffect.Play

Declaration

public void Play(Experimental.VFX.VFXEventAttribute eventAttribute);

Declaration

public void Play();

Parameters

eventAttribute Can be null or eventAttribute instantiated with VisualEffect.CreateVFXEventAttribute.

Description

Sends a stop event to all Spawn systems. If VisualEffect.resetSeedOnPlay is true, this methods recomputes a new random seed for the random value generator and resets internal total time to zero.