Author Topic: Sliding menu  (Read 4706 times)

DJVDJV

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 30
    • View Profile
Sliding menu
« on: June 09, 2015, 04:03:35 PM »
Hello,

Is there tutorial for menu that "slide" off from screen and slide back to screen when for example some button is pressed.

If there is no tutorial... may somebody have any idea how I should do this?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Sliding menu
« Reply #1 on: June 11, 2015, 06:21:02 AM »
UIKeyBinding can be used to simulate a click when you press a specific key. Set a tween that reacts to click (or a UIToggle that will trigger a tween). With UIKeyBinding to trigger it you will get the effect you're looking for.

devomage

  • Sr. Member
  • ****
  • Thank You
  • -Given: 7
  • -Receive: 67
  • Posts: 250
    • View Profile
Re: Sliding menu
« Reply #2 on: June 11, 2015, 04:02:18 PM »
check how the Tasharen logo is displayed in example #7 of the NGUI examples folder.