Version: 2020.1
言語: 日本語
public void SendEvent (int eventNameID);
public void SendEvent (string eventName);
public void SendEvent (int eventNameID, VFX.VFXEventAttribute eventAttribute);
public void SendEvent (string eventName, VFX.VFXEventAttribute eventAttribute);

パラメーター

eventName The name of the event.
eventNameID The ID of the event. This is the same ID that Shader.PropertyToID returns.
eventAttribute Can be null or a VFXEventAttribute. To create a VFXEventAttribute, use VisualEffect.CreateVFXEventAttribute.

説明

Use this method to send a custom named event.