Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity UI Text changes Alignment in Game Mode

Discussion in 'UGUI & TextMesh Pro' started by unity_iTkg7XDThRScSg, Oct 11, 2018.

  1. unity_iTkg7XDThRScSg

    unity_iTkg7XDThRScSg

    Joined:
    Mar 11, 2018
    Posts:
    2
    I'm pretty new to Unity and just played a bit with the "Unity Samples: UI" Asset. (https://assetstore.unity.com/packages/essentials/unity-samples-ui-25468)

    Now i have the following problem:

    I have a Wheel with 9 Sprites that build a circle and each Sprite includes Text.

    In Scene View the Text is alligned perfect in each of the Sprites, but as soon as i switch to Game View the alignment switches and looks like i positioned them in the Z Axis:

    Does anybody know what could leed to this changes or what is the best practice to do this kind of task?

    Scene View:

    Game View:
     
  2. unity_iTkg7XDThRScSg

    unity_iTkg7XDThRScSg

    Joined:
    Mar 11, 2018
    Posts:
    2
    Found the solution i had to set the Canvas Render Mode to World Space