Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Resolved How to place UI elements on normal GameObjects?

Discussion in 'World Building' started by unity_0MtV86mfbrAf9Q, Jan 23, 2021.

  1. unity_0MtV86mfbrAf9Q

    unity_0MtV86mfbrAf9Q

    Joined:
    Jan 22, 2021
    Posts:
    5
    How can I place UI Elements always (independently of the screen size) on a Sprite?
    The UI element should have the same size of the sprite independently of the screen size.
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,835
    Just parent a Canvas under the Sprite, set to World-Space mode.