文档

Unity Engine

Unity Engine

CreateVFXEventAttribute()

Use this method to create a new VFXEventAttribute.
阅读时间1 分钟最后更新于 16 天前

Definition

public VFXEventAttribute CreateVFXEventAttribute()

Returns

Type

Description

VFXEventAttributeA new VFXEventAttribute, or null if the VisualEffect doesn't have a VisualEffectAsset assigned.

Remarks

You can pass a VFXEventAttribute to VisualEffect.SendEvent.