Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 MixPix · Feb 16, 2016 at 01:13 PM · uicanvascardworld space

How to get UI elements on card not to shine through?

I'm making a mini game where you are supposed to figure out card patterns. I'm using two quads with opposite facing normals for the front and back surfaces of the cards, and then UI text objects for the values and suits of the cards. They are all parented to a world canvas and are using an ortographic camera.

Hierarchy of the card:
CardPrefab (Empty)
-CardFront
-Value
-ValueFlipped
-CardBack

The UI text is placed slightly in front of the card to prevent that it's visible from the backside, however this does not seem to be working. Moving the cardback around in the internal hierarchy doesn't do anything either. Whats the problem?

alt text

cards1.jpg (193.4 kB)
Comment
Add comment · Show 3
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 RKSlither · Feb 17, 2016 at 02:37 PM 0
Share

could you not mess with the z axis on position for each method so that it's in the correct way so if the cardback is supposed to show then make it so its close example would be cardback z 0, then value flipped z 1 value z 2 etc

avatar image Nerevar RKSlither · Feb 17, 2016 at 02:42 PM 0
Share

I guess he cannot do that because there is some animation involved when flipping the card?

But even so @RkSlither gave you good direction about messing with the Z axis, if you do have some animations playing be sure to play them after you set the right Z values

avatar image MixPix Nerevar · Feb 18, 2016 at 08:32 AM 0
Share

Thanks for the ideas but that's not solving anything :( It should! But it's not :/ I've narrowed it down to the text not being blocked by 3D objects, only other gui, because if I drag them in the z axis behind the background, they disappear.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by MixPix · Feb 18, 2016 at 08:43 AM

So I made a workaround where I used 3D Text Mesh-objects instead of UI Text. I suppose it works as good!

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

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

World Space Canvas causes blurry text with anti-aliasing 0 Answers

How to only allow one gameobject to enter a panel 1 Answer

Alternatives to Canvas Draw Order when using elements that rotate around each other 0 Answers

I Have a Button in Canvas, i Click anywhere except the button and it gets clicked 0 Answers

Basic question about creating a menu 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