Version: 2019.2
Experimental: this API is experimental and might be changed or removed in the future.

VisualEffect.Play

Switch to Manual
public void Play (Experimental.VFX.VFXEventAttribute eventAttribute);

Parameters

eventAttributeCan 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.