Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: mdotstrange on April 27, 2016, 02:06:38 PM

Title: Button AutoScroll for GamePad
Post by: mdotstrange 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/ (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  :)

(http://i.imgur.com/7RbsPaI.png)

It allows you to have a Scroll Rect filled with buttons autoscroll when they are selected with a gamepad/arrow keys like this
(http://i.imgur.com/2yxvAX0.gif)

Its on Ecosystem and Snipt here
https://snipt.net/raw/d871eab4067138f359d8f97798175441/?nice (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-
Title: Re: Button AutoScroll for GamePad
Post by: Gav (HeyBud) on April 27, 2016, 02:49:55 PM
Nice! Now I can make that FF4 style menu battle system i've been wanting to.