Play
Use this method to send a play event to every Spawn system.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
Play(VFXEventAttribute)
Use this method to send a play event to every Spawn system.
public void Play(VFXEventAttribute eventAttribute)
Parameters
Can be null or a VFXEventAttribute. To create a VFXEventAttribute, use VisualEffect.CreateVFXEventAttribute.
Remarks
This call is equivalent to VisualEffect.SendEvent("OnPlay");
Play()
Use this method to send a play event to every Spawn system.
public void Play()
Remarks
This call is equivalent to VisualEffect.SendEvent("OnPlay");