文档

Unity Engine


User Manual

Script Reference

Unity Engine


nameId

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

Definition

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

Remarks

This is the same ID that Shader.PropertyToID returns.