Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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 /
avatar image
2
Question by cyangamer · Jun 14, 2010 at 02:23 AM · animationeditorfunctionsupportanimationevent

Animation Event - "Function not supported"

I'm using Unity's Animation Editor to activate events based on the time of an animation. However, for every script that I try to add to the Event, there is a "(Function not supported)" next to it. The event still seems to fire, but I was wondering what this meant, and is there a way to make it go away?

Comment
Add comment · Show 1
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 TaigaStudios · Jul 03, 2010 at 12:23 PM 0
Share

If it doesnt effect on your game, let it be. Incase you notice things working oddly Then try to make it go away.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by antonklock · Sep 16, 2011 at 02:03 AM

I have the same problem and I found that the functions in first script on the object seem to be supported but when you try to call functions from any script after that it gives you the "(Function not supported)" message.

But as TaigaStudios said, if it doesn't effect your game you should be fine.

Comment
Add comment · 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
0

Answer by mamoniem · Oct 30, 2012 at 07:22 AM

you need to pass the function name as string at the beggining , here is my test script & it works with me :

 #pragma strict
 function Update () {
     var dodoEvent = new AnimationEvent();
     dodoEvent.functionName = "dodo";
     if (Input.GetKeyDown(KeyCode.UpArrow)){
         //Debug.Log ("the button pressed");
         animation["testANimBall"].clip.AddEvent(dodoEvent);
     }
 }
 
 function dodo(){
     Debug.Log (System.DateTime.Now.Second);
 }
Comment
Add comment · Show 2 · 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 mamoniem · Oct 30, 2012 at 06:43 AM 0
Share

i added a debug.Log jut to test at the begginging; sorry if the psot wwas old, but i posted the answer to anyone want to use the same thing later;

m;

avatar image gaojinjing · Mar 07, 2013 at 12:23 PM 0
Share

I $$anonymous$$nown !Thank You! I had one bad custom,writ code!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

AnimationEvent has no function name specified 2 Answers

Editing Animations crashes Unity 1 Answer

Stop the Update function so death animation can complete. 1 Answer

Activating an animation upon triggering the collider? 0 Answers

Can I set Animator State Transition defaults? 3 Answers


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