Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

New Event Function in 4.3

Discussion in 'Animation' started by VhmSephiroth, Nov 25, 2013.

  1. VhmSephiroth

    VhmSephiroth

    Joined:
    Nov 25, 2013
    Posts:
    3
    Hello i saw that unity has implemented a new event function in the clips (see picture), but how i can get access to it ? $AnimationEvent.jpg
     
  2. SunnySunshine

    SunnySunshine

    Joined:
    May 18, 2009
    Posts:
    993
    During import in the inspector. Select your model and go to the animation tab in the inspector. Only seems to work for mecanim (not legacy).
     
  3. VhmSephiroth

    VhmSephiroth

    Joined:
    Nov 25, 2013
    Posts:
    3
    Thanks for the quick Reply.
    I have already my model at Generic but i dont now how to add it to a script.
    It says only that test has not a reciever.
     
  4. VhmSephiroth

    VhmSephiroth

    Joined:
    Nov 25, 2013
    Posts:
    3
    Ok i found the Problem - $AnimationEvent2.jpg
    The Script to catch the event must be on the same Hierarchy as the Animator.
    Is there are other solution to catch the event on different scripts except to make a script to handle this ?