• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Oct 29, 2017 at 02:37 PM by Bunny83 for the following reason:

The question is answered, right answer was accepted

avatar image
52
Question by aronatvw · Nov 24, 2013 at 04:43 AM · animationanimatormaterialfunction

AnimationEvent has no function name specified

I am making an animation on a plane where it just changes materials the "material" reference. Plays fine but everytime it plays it says AnimationEvent has no function name specified. I have no idea what this means please help!

Comment
Comments Locked · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image slippdouglas · Apr 20, 2014 at 03:10 AM 0
Share

Please do not retitle your post to include “Answered:” in the title. Unity Answers already automatically shows this information in lists of questions.

avatar image aronatvw · Apr 20, 2014 at 03:58 AM 0
Share

Sorry , noted.

avatar image Lamry · Feb 05, 2016 at 04:28 PM 0
Share

thx dude!! really detailed solution! :)

1 Reply

  • Sort: 
avatar image
192
Best Answer

Answer by supernat · Nov 24, 2013 at 04:48 AM

In your Animation editor, you must have clicked the icon for Add Event, looks like a pencil with a small + in the bottom right corner, and is just to the right of the Add Key icon. If you have any Events in your timeline, they are shown at the top as small tall rectangles with an tip at the bottom (pencils I guess?). Anyway, just right click and select "Delete Animation Event".

FYI: these are handy to trigger some code. If you create a script and create a method, I make it a public method but it may not have to be, you can create one of these Events in the timeline of your animation and then assign that method to it. It even has the ability to pass a single parameter to the method if defined with one, so pretty powerful.

Comment
Comments Locked · Show 15 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image aronatvw · Nov 24, 2013 at 06:29 AM 2
Share

dude thank you you are a life saver I am just starting to learn about this animation stuff and little things like that is super confusing. Thank you.

avatar image aronatvw · Nov 24, 2013 at 07:09 AM 0
Share

Any ide why all of my animations play right in the beggingning of my scene starting. I want them to not play until I call them with a

getcomponent.play("anim");

$$anonymous$$y trigger works and plays the anim but in the begginning of the scene it plays once by itself?

avatar image Asza · Feb 26, 2014 at 10:58 PM 0
Share

Thank you so much i'm a noob at unity and this really helped me.

avatar image MichaelMcFarland · Apr 07, 2014 at 12:17 AM 0
Share

Thanks, the helped me figure out a bug in a tutorial I was going through!

avatar image llMarty · Dec 23, 2014 at 06:22 PM 4
Share

Screenshot of it

Show more comments

Follow this Question

Answers Answers and Comments

25 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Multiple Cars not working 1 Answer

I'm confused with the animator 1 Answer

Changing player position in animation doesn't work. Why? 3 Answers

My player won't jump? 1 Answer

How to make animator do run/walk animations 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges