• 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
1
Question by Daniele · May 17, 2011 at 07:42 PM · guitexturemenubackground

Overlaping GUITexture, help!

Currently making my main menu background and I'm having problems with separate GUITextures to which all additional ones created after first will just be hidden behind.

Any way how I can fix this?

Thanks again.

Comment
Add comment
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

1 Reply

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

Answer by Mike 3 · May 17, 2011 at 07:56 PM

You can set the z position on the Transform to set the depth the GUITexture will be rendered at

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 Daniele · May 17, 2011 at 08:03 PM 0
Share

Both GUITextures are Transform Z 0 by default.... do I just type a value in to match the other GUITexture so they appear simultaneously?

avatar image flaviusxvii · May 17, 2011 at 08:21 PM 0
Share

Their Z value just determines their drawing order.

avatar image Daniele · May 17, 2011 at 08:24 PM 0
Share

So 1 would be higher priority than say 10?

avatar image Daniele · May 17, 2011 at 08:34 PM 0
Share

Don't worry I figured it out, finally ;/

Thanks.

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

How to place/add a HD image/picture in background of my game? 0 Answers

How can I prevent my GUI background texture from getting pixelated or stretched? 1 Answer

Menu gui with background image 0 Answers

Automatic GUI resizing 1 Answer

Paused Menu backdrop 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges