Search Unity

This is the worst part about Unity

Discussion in 'UGUI & TextMesh Pro' started by SuperCrow2, Jan 24, 2020.

  1. SuperCrow2

    SuperCrow2

    Joined:
    Mar 8, 2018
    Posts:
    584
    I am trying to put images on my menu screens and in order to get one image right next to one of my buttons, I had to move the image way over to the right in "scene" mode so when im in "game" mode the image appeared right next to the button. But it doesnt stop there. in order for it to be on the left side of the button, I had to move the image far to the right side. You would think you wouldn't have to go in the opposite direction to put it on the side you want it on and not having to put it really far away just so in "game" mode its in the spot you want it in.

    Though I noticed the same stuff happens often outside of the menu too, its also within the game itself.
     
  2. Antistone

    Antistone

    Joined:
    Feb 22, 2014
    Posts:
    2,836
    Sounds like your edit view and game view are using different resolutions and you are not paying attention to your anchors and/or canvas scaler.

    See: Designing UI for Multiple Resolutions