Search Unity

Issue with menu prefab and animation

Discussion in 'Animation' started by Gaus270, Jun 19, 2015.

  1. Gaus270

    Gaus270

    Joined:
    Jun 19, 2015
    Posts:
    4
    So I added a button to a pre-exisiting menu prefab in a simple effective way... Duplicate pre-existing menu button, change it to what I need, apply prefab. BOOM done.

    However, the menu prefab has an animation attached to it. No biggie, open up the animation tab and select the prefab in hierarchy view, then add curve to add my newly added button. Match the animation scheme of the existing buttons so everything appears as it should. Record it, save scene, then I am done.

    Unfortunately, when I play the game the menu does not pop up when I double click the screen. I have written a script using DF GUI and the dfDoubleTapGesture is registering but for some reason when it is passed to the script that actually opens the pop up menu the animation is not loading for the dfPanel... Any suggestions or hints?