Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Cycle animations on button click

Discussion in 'Animation' started by Bpollard85, Mar 5, 2023.

  1. Bpollard85

    Bpollard85

    Joined:
    Nov 26, 2022
    Posts:
    1
    I have a 3D building floorplan that I want to be able to click the up and down arrows to cycle through floors. I have animations set up for each floor. I have the first button playing the roof leave animation but I would like it to step down and up based on the arrow presses.

    Cycle Through Floor Plans.PNG

    Cycle Through Floor Plans1.PNG

    Can I accomplish this with simple On Click commands for the button or will I need to write a script to get it to function correctly? I am currently trying to teach myself programming but I don't know much. Any help would be greatly appreciated.