Play
Use this method to send a play event to every Spawn system.
阅读时间1 分钟最后更新于 1 个月前
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");