- Home /
what to use for GUI instead of OnGUI() -mobile dev
I have been going through some of the 3DBuzz tutorials, and they said that for mobile they would not recommend using the OnGUI call, and that in a later video they will demonstrate what to use. I don't believe the later videos are out yet, so I was wondering what technique or if there is another tutorial (C# would be nice) to show text and buttons?
Thanks
Answer by runonthespot · May 26, 2011 at 02:50 PM
The stock answer is either pay for EZ Gui, or take a look at Prime31's GUI solution here. There are a number of tutorial videos that he's put together too.
Incidentally, the reason not to use OnGUI is that you want to minimize draw-calls, which OnGui doesn't do very well. Both solutions above can do your entire interface, with buttons, animation etc, using a single draw call.
I like the sounds of that. I will take a look at Prime31's solution
Your answer
Follow this Question
Related Questions
World canvas with screen space canvas performance mobile ? 0 Answers
Setting Material Textures at runtime for the rest of the game 0 Answers
Should i bake the skinned mesh? 1 Answer
Why is my camera motion so jittery? 3 Answers
Why did my render time increase after lowering the vertex count? 2 Answers