Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 adsamcik · Dec 28, 2014 at 09:00 AM · uioffset

[solved] UI 4.6 Screen space canvas position

Hi, I have run today during styling of my interface to issue where one canvas is somehow offseted to a display. The "border" created by rectangle tool (or how is it called) is correct display and the second, filled rectangle is an image, filling the other canvas (its pretty much exactly representing the other canvas). Both canvases are set to screen space - overlay. Any idea what could cause this?

alt text

gui.png (11.5 kB)
Comment
Add comment · Show 2
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 jakovd · Dec 28, 2014 at 09:13 AM 0
Share

You could have offsetted it by dragging it with a mouse for all I know. Is this a persistent problem or can you fix it by reselecting the anchor setup in Inspector for Rec Transform? Click on the Anchor Presets in Rect Transform and click on the most lower right preset holding Shift and Alt to position this panel over the whole screen.

avatar image adsamcik · Dec 28, 2014 at 09:27 AM 0
Share

It's not actually possible to offset it, because its controlled by the canvas in "screen space - overlay" mode. I tried what you said and I can only move it in Z axis. In Rect. Transform it says "some values are driven by canvas".

1 Reply

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

Answer by adsamcik · Dec 28, 2014 at 09:32 AM

ah I found what the issue was cause by. The canvas was child of another gameobject which wasn't at 0,0,0. I didn't thought of it because there was not way of moving the canvas itself so I thought, ok it is probably moved to fit the screen. Well it is but only in local coordinates.

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

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

UI 4.6 Flash effect/Saturation for Image? 5 Answers

new UI image, button 1 Answer

Unity 4.6 New UI Button OnHoldPressed 0 Answers

How can I stretch the width of an Image UI element to fit the width of screen while keeping its aspect ratio within a Vertical Layout Group? 0 Answers

2 Scrollrects and Parallax effect 2 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