ドキュメント

Unity Engine

Unity Engine

functionName

The name of the function that will be called.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Remarks

This is the same as calling gameObject.SendMessage(animationEvent.functionName, animationEvent). The function called can have zero or a single argument. See the script example at AnimationEvent to see how
functionName
can be used.