文档

Unity Engine

Unity Engine

objectReferenceParameter

Object reference parameter that is stored in the event (Read Only).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public Object objectReferenceParameter { get; }

Remarks

Returns the Unity Object reference that was configured on the animation event. This can be any type derived from Object, such as GameObjects, Components, ScriptableObjects, or Assets. Returns null if no object reference was set on the event.