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");