playMaker

Author Topic: Button AutoScroll for GamePad  (Read 3895 times)

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Button AutoScroll for GamePad
« on: April 27, 2016, 02:06:38 PM »
This was a lot more difficult than I thought it would be to get working- thankfully I found this thread http://forum.unity3d.com/threads/scroll-rect-and-scroll-bar-arrow-keys-control.339661/ and converted the C# script to a Playmaker action for us to use  :)



It allows you to have a Scroll Rect filled with buttons autoscroll when they are selected with a gamepad/arrow keys like this


Its on Ecosystem and Snipt here
https://snipt.net/raw/d871eab4067138f359d8f97798175441/?nice

Credit goes to Twiik from the Unity forums for making the C# version- I just added an "up Adjust" to it-
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

Gav (HeyBud)

  • Full Member
  • ***
  • Posts: 126
    • Tumblr
Re: Button AutoScroll for GamePad
« Reply #1 on: April 27, 2016, 02:49:55 PM »
Nice! Now I can make that FF4 style menu battle system i've been wanting to.