Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


objectReferenceParameter

Object reference parameter that is stored in the event (Read Only).
Read time 1 minuteLast updated 4 days ago

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.