Author Topic: Example 3: Main Menu Animation Customization  (Read 3861 times)

asimarif

  • Guest
Example 3: Main Menu Animation Customization
« on: January 10, 2013, 02:53:42 AM »
Hi Everybody,
I'm studying "Example 3 - Menu" and want to customize the animation. Currently, the panels are animated and at the end, every panel comes to the right side of the screen. I want them to come at the center of the screen.

Currently, I have set X=0, Y=0, Z=0 on "Panel - Main" game object. By doing this, initially, the panel is displayed on the center of the screen but as soon as the animation starts/ends, the next/previous panels are once again placed on the right side of the screen.

Can someone please help me out what I need to set up so every time, every panel (i.e. "Panel - Main", "Panel - Options") stay at the center of the screen before/after the animation?

Thank you so much

Cripple

  • TNP Alpha
  • Full Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 117
    • View Profile
Re: Example 3: Main Menu Animation Customization
« Reply #1 on: January 10, 2013, 09:34:32 AM »
That is not really related to NGUI, you have to change the AnimationClips MovingBack and MovingForward using the Animation windows of Unity to create the animation you want.
Graphicstream Dev.

asimarif

  • Guest
Re: Example 3: Main Menu Animation Customization
« Reply #2 on: January 18, 2013, 07:50:18 AM »
Oh great. Thank you so much guys :-)