Resize UIImage according to screen Resolution

Updated 7 days ago in [A] GUI
Share on Facebook0Tweet about this on Twitter0Share on Google+0Share on Reddit0
2 on April 18, 2017

hey guys i am a noob and i am making a top view game like Clash of Clans to test my skills, I made a simple UI Image to fit the Canvas in Scene View , the game view size is different from Scene View So when i play the game the Image does not resize according to game view

i want that the width of the image should change according to the screen Resolution,how do i do that I have no idea, any help is appreciated

  • Liked by
Reply
1 on April 19, 2017

There is a canvas option called Scale With Screen Size
You can find more information about this here: https://docs.unity3d.com/Manual/script-CanvasScaler.html 

7 days ago

Thanx mate got it solved

Show more replies
  • Liked by
Reply
Cancel