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 DarthBane · Apr 29, 2016 at 05:41 AM · unity 5uitexttimer

Want my UI to not move when I move my camera?

Right now, I have the timer and score set up as Text UI things via canvas. I placed them in front of my FPS controller camera, but its annoying because my terrain is mountainous and whenever I turn, the time and score get submerged in the mountain and I can't see them unless I move my camera out of sight of any obstacles. Is there a way that I set my score and timer text UIs so that regardless of where I turn, I can always see them clearly?

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 Whiteleaf · Apr 29, 2016 at 07:36 AM 0
Share

Well are you using 3D text, legacy, or the new UI system? If you're using the new UI system, is it a world space canvas?

2 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by JamhammerRob · Apr 29, 2016 at 01:55 PM

Check your canvas. alt text


capture.png (21.9 kB)
Comment
Add comment · Show 1 · 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 DarthBane · May 06, 2016 at 02:49 AM 0
Share

Thanks a lot!

avatar image
0

Answer by jeffonsea · Apr 29, 2016 at 03:23 PM

@DarthBane what render mode is your canvas component set to ?

Depending on the effect you want to get with your UI you will have to set the render mode of your canvas component to Screen Space Overlay or Screen Space Camera.

If you want it to be on top of everything else on screen you will have to put it on Screen Space Overlay mode, and make sure your Sort Order is lower than any other canvas element you are using.

A different aproach could be using a UIShader that set the render queu to overlay on a Screen Space Camera canvas.

I sugest you have a look at the canvas tutorial , this is the link.

Hope i helped you out. Good Luck.

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

6 People are following this question.

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

Related Questions

Disable and Enable UI text in function 1 Answer

Text UI broken after changing alpha color of single letters 1 Answer

"/n" not working 2 Answers

Cannot drag text object into inspector 2 Answers

How Can I Make Text That Fades In Then After A Delay The Next Text Fades In And Old Text Fades Out Etc. 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