menu script how do vertical turn when player pressed menu button

menu script, how do vertical turn when playyer pressed menu button
i just made button in 3d max, with animation (vertical turns in one way(up)). Then i did import this model and placed on place in Unity. What i need do what my animation playing when on this button is pressed. what a script i need?

Pc platform - JavaS

in what code?? C#, JavaScript, etc3... and on what platform?? PC, Android, iPad??

2 Answers

2

Pc platform , JavaS

describe more please...

you need a script which happens OnClick() that rotates the gameobject by whatever amount (in degrees) you want.