Unity - AnimationEvent "xxx" on animation "xxx" has no receiver を解決する

原因は同じ名前の関数が見つからない。

エラーが発生した Animation を開けて、対応の AnimationEvent を選択してください。

そして右側に以下のような Inspector が出ている。

原因は同じ名前の関数が見つからないため、コードに同じ関数を書いたら解決可能である。

Licensed under CC BY-NC-SA 4.0
Built with Hugo
Theme Stack designed by Jimmy