文档

Unity Engine

Unity Engine

nameId

Stores the nameId of the source output event context that triggered this event.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine.VFX
  • Assembly: UnityEngine.VFXModule
public readonly int nameId { get; }

Remarks

This is the same ID that Shader.PropertyToID returns.