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 puyehue · Apr 29, 2015 at 03:07 PM · camerauilayersculling mask

I can't hide a RawImagen in a camera view

Hi all, This should be a simple one but... Im trying to hide UI GameObjects for the camera disabling the layer where they are in (using Culling Mask), but the UI Objects don't disappear. Actually, when the Culling Mask of a camera is set to "Nothing", the UI Objects are still shown in the Game window. Right now I´m testing with only one camera. Thanks for your time,

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 fffMalzbier · Apr 29, 2015 at 03:12 PM 0
Share

What do you have your canvas render mode set to? If its "Screen Space Overlay" You ui is never seen by the camera because its render by the canvas component. If you like to make a Raw Image component invisible , just deactivate the component or the gameobject , or use a canvas group to disable it.

avatar image puyehue · Apr 29, 2015 at 04:02 PM 0
Share

Thanks for your help. Yes, I am using Screen Space Overlay. I could deactivate the component but how would I make it visible to some cameras and not to others when using multiple cameras?

avatar image fffMalzbier · Apr 30, 2015 at 07:47 AM 0
Share

In Screen Space Overlay rebder nide the gui is never rendered to a camera but directly to the screen. If you like to have it rendered to a camera you have to use the ScreenSpaceCamera render mode in the canvas and supply a camera. Then the layers will work as you expect it for that supplied camera.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by puyehue · Apr 30, 2015 at 07:54 AM

I've read and seen some tutorials and they seem to say that activating and deactivating layers associated to cameras is the why to go, that is, with GUI Texture.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

How can you hide Canvas objects using Camera Culling Mask? 1 Answer

Canvas layer overrides child layer in light culling mask - Expected behavior? 0 Answers

UI with layer always displaying 0 Answers

Second UI camera only works when I refresh Clear Flags setting 1 Answer

Camera culling without layer mask 0 Answers


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