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 /
This question was closed Apr 14, 2013 at 07:38 AM by Fattie for the following reason:

Duplicate Question

avatar image
0
Question by EnJones · Apr 14, 2013 at 07:02 AM · iosguitextureinventory

Is GUITexture slow on iOS, and would it be faster to use a plane and a separate camera?

I wanted to try to roll my own inventory system, and I want to focus on iOS devices first hand so performance is key.

The way I wanted to lay this out was having an inventory bar permanently fixed to the bottom of the screen. To draw the inventory bar, I'm using multiple GUITextures. I wrote a script to handle drag and drop from the inventory bar onto the screen and that works fine using GUITexture (thought I haven't checked performance for this yet).

However, I've read many a post suggesting not to use the GUI system because the amount of draw calls. Does this apply to using GUITextures or is this only for using OnGUI in your script (is GUITextures using OnGUI in them selves perhaps?)

Or should I stay clear of GUITexture completely and us an alternative?

I want to stay clear of 3rd party GUI libraries for this exercise (I did look at NGUI and it looks really nice, but I want to go this route so I understand it better).

I am guessing the other option is to setup another camera, and draw the inventory background as a tiled texture on a plane.

If GUITexture is a big no-no, and I should go the route of a second camera, should I make each inventory item a plane as well, and would that work without making every item rectangular?

Comment
Add comment · Show 1
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 Fattie · Apr 14, 2013 at 07:03 AM 0
Share

performance is fine, it's just a shambles. FWIW very many people just use 2DToolkit for anything 2D. it does make it astoundingly easier. (yes, add another camera for the UI if you prefer / is relevant - no big deal.)

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

12 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

Related Questions

Why am I getting this error message on my iOS game when I change scenes? 2 Answers

Calling Function in other Script via Touch => iOS Crash 1 Answer

Does onMouseDown convert to a Touch command in iOS or not? 1 Answer

Changing Unity Ads Gui Texture 0 Answers

How to change button sizes depending on iOS device? 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