Unityでオブジェクトにアニメーション付けてスクリプトで制御したんだが、
AnimationEvent has no function name specified!
というエラーが出る。

どうすればいい?