Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


functionName

The name of the called function (Read Only).
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public string functionName { get; }

Remarks

Returns the name of the callback function invoked by this animation event. This corresponds to the function name that was configured on the AnimationEvent in the Animation window. Note: Accessing this property allocates memory as the string is retrieved from native code.