Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Multiple Animation Controllers trigger on each other

Discussion in 'Animation' started by Kaiwhitehat, Mar 28, 2019.

  1. Kaiwhitehat

    Kaiwhitehat

    Joined:
    Mar 5, 2019
    Posts:
    19
    Hello everybody,

    I want to make the following: If I press a button, the button should remain pressed until a certain animation is played and then release. How do I do this?

    My Problem right now is, that the button and the machine which shows the animation have different animation controllers. It is also an AR animation so the script I am using right now to run both is attached to the image target, which seems to be a problem for the placing of animation events.

    I just want to have an animation event at the controller of the machine which then sets a bool parameter at the button controller to true so that the button releases. How do I do this?

    Kind regards!