Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Dogg · Aug 17, 2014 at 07:46 AM · guiiosframerate

Is Using Unity's Built In GUI Okay?(IOS)

Is it okay to use Unity's Built In GUI for IOS? You know the OnGUI() function/method. My game isn't too big, but I do have plans in the future to add a lot more stuff to it(it will still be small compared to others though). So what is it? I would like an explanation if that is not too much to ask, but a simple yes or no is fine. The version of Unity that I'm using is 4.0 and up. I'll await your responses now.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image gjf · Aug 17, 2014 at 03:09 PM 0
Share

the simplest answer is yes, but there's a whole load of reasons why it may not be exactly what you need. that's impossible to answer without knowing more about your requirements.

i don't know of any released apps using the basic GUI (somebody please call bs on that if i'm wrong).

avatar image Dogg · Aug 17, 2014 at 08:29 PM 0
Share

Hmm interesting, and what do you mean when you say requirements? I knew one released app that used the basic GUI, but now I can't remember the name.

EDIT: Wait I believe it was a racing game. It had a GUI looking button with a texture inside of it. It was either for the break or gas.

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by kumarc123 · Aug 17, 2014 at 03:38 PM

As of my opinion, I don't prefer Unity's built-in GUI because of both performance and writing complex floating point calculations in my code.

Also the Unity's GUI runs almost twice the speed as the Update method. For rendering mobile GUI it costs very much. For desktops I can say it can be used.

If you still want to use you can use Prime 31's UIToolKit

This is an open-source plugin for Unity UI system.

In Unity Asset Store here are a lot of good and advanced plugins like Audodesk Scaleform, NGUI, EzGUI etc. are available you if you have money.

Lastly wait for Unity's new GUI system to come Unity 4.6 version

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Kiwasi · Aug 17, 2014 at 08:35 PM 0
Share

I just watched a video promising the new GUI in unity 3.0 Don't hold your breath that it will be ready for 5.0 $$anonymous$$aybe 6.0 might have a better system.

avatar image Dogg · Aug 17, 2014 at 08:40 PM 0
Share

So then what's the point of Unity's GUI? Obviously Unity is used for other things other than games but I don't see how it can benefit anyone(mostly the IOS game makers, everyone else can have some benefit I guess). As for Prime 31's UITool$$anonymous$$it, I actually downloaded that yesterday and tried to get it working, I could not. There aren't any updated tutorials as far as I'm aware, and the thread is dead. I tried another free GUI asset, and I also could not get that working(but I at least was able to see it, the prime31 one I couldn't see at all).

Sadly I do not have the money for NGUI or any other asset. So it looks like I'm stuck with 3 options: 1 Just use Unity's built in GUI as a temporary placement for my menu's etc. 2 Use GUI Textures(I'm currently using them, but the mouse clicks are quite right). 3 Wait for Unity's new GUI system. If I can just get those mouse clicks to click right, then I could use the textures. However if I can't then I'll have to use Unity's GUI.

avatar image Kiwasi · Aug 17, 2014 at 08:56 PM 0
Share

OnGUI functions perfectly well for editor extensions and unity tools. It works well enough for prototyping and hobby games. What it can't do is provide high performance custom functionality, many profesional games require this.

But if all you are after is a main menu system then OnGUI is perfectly fine.

The other option is to build your own system with a few sprites.

avatar image Dogg · Aug 17, 2014 at 09:39 PM 0
Share

I see thank you very much Bored$$anonymous$$ormon. What about for a pause menu and a gameover screen? Currently my pause menu is a window rect, and is accessed through a gui button. As for my Gameover, I have a background texture with two GUI buttons for retry and quit. I also have labels. Would this affect me if I included the main menu as well?

The problem with building my own system with sprites/textures, is the mouse clicks. So far my On$$anonymous$$ouse methods have not been accurate with their clicks, unless you mean a different way of doing it.

Also what do you mean by hobby games?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Multiple Cars not working 1 Answer

Screenshot certain layers so it doesn't show GUI Button on the image?? 0 Answers

How to make a time mission 1 Answer

GUI Mini-Game 0 Answers

unity3d ios 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges