- Home /
Does Unity have scroll menu for smartphone?
I'm developing application on android using Unity. I wonder if there are developed script or tools that can do the same scrolling effect like those on every smartphone (menu that can scroll up and scroll down by using your finger) Thanks
Answer by Unity_gamer · May 20, 2013 at 07:24 AM
Check these Documentations to create Scrollable GUI
http://docs.unity3d.com/Documentation/ScriptReference/GUI.BeginScrollView.html http://docs.unity3d.com/Documentation/ScriptReference/GUILayout.BeginScrollView.html
Thanks
Thanks for the reply but it seems it is for PC not Smartphone. By smartphone I mean, for example, you can push with your finger on the touchscreen and the scroll bar with keep scrolling with deceleration, for which these effect are different from traditional scrollable GUI on PC.
Fattie is right and myself i used it and it worked. Please try that out first and if you get stuck somewhere let us know.
please TIC$$anonymous$$ any useful answer (round symbol on left) as it gives you karma points and the OP should close questions
Answer by SolidSnake · May 20, 2013 at 11:17 AM
I guess you mean with touch drag instead of side bar scroller.. here are examples of how you can add touch control to drag the menu:
http://theantranch.com/Unity/Entries/2010/3/5_iPhone_Skrollin_Example.html
http://www.mindthecube.com/blog/2010/09/adding-iphone-touches-to-unitygui-scrollview
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Unity games and web comunication 1 Answer
Camera 2D Movement android unity 1 Answer
I am looking for a blow detection logic that is accurate. please help me. 0 Answers