Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

AnimationEventInfo.objectReferenceParameter

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public Object objectReferenceParameter;

Description

Object reference parameter that is stored in the event (Read Only).

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