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 Dec 05, 2014 at 12:37 AM by DarkSlash for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by DarkSlash · Nov 06, 2014 at 10:53 PM · camerauispritecanvas

Big canvas or small sprites??

I create a new project, add a new canvas, and it creates a canvas at position 284,177.5 and with dimensions 568x355 (Can't edit).

I drop in the scene view a background file (imported with max size 2048 and actual size 1150x692). The background is scaled 1x1x1 but it sees like a little dot. If I change the render mode of the canvas to world view, I can change the dimensions. I adjust the canvas dimensions to the background, but the element doesn't render well (like they're too small). So I think its a problem of the sprite, not the canvas, but to see the full canvas I must set the camera size to 180. Always is set to a smaller value, so I think something is wrong where. What I'm doing wrong?

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

  • Sort: 
avatar image
1
Best Answer

Answer by Kiwasi · Nov 06, 2014 at 11:36 PM

Change the Pixels To Units setting on the sprite importer. For screen space overlay canvas this should normally be set to 1 (assuming your image file is meant to built in the same resolution as the screen).

There seems to be some confusion in your question about the nature of screen space overlay canvases. For a canvas with this setting one pixel is set to one unity unit. That's why it looks so massive. Check it out in the game view to get a real feel for how it looks with your game setup.

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

Follow this Question

Answers Answers and Comments

27 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 avatar image avatar image avatar image 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

Should we need Camera for creating game with Canvas? 1 Answer

placing a text on to an platform, on infinite runner 0 Answers

Previous scene's canvas stays on screen 1 Answer

Removing color tint from image/raw image on Canvas Sprite,Color tinting Canvas sprite in image/raw image 0 Answers

Correct setup for UI Camera? Allow MSAA causing Tiled GPU perf. warning 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