I’m new to Unity, when I search the internet for making the main menu, there are many different tutorial,
but I wonder if there is any ‘best’ way to handle different screen resolution?
I used GUITexture to make the main menu button (and other HUD),
but seems that I need to add script to every GUITexture instance in whole game,
to ensure the scale is correct,
e.g.
Vector2 scale = new Vector2(width / 720, height / 1184); //the texture is created base on 1184x720
guitexture.pixelInset = new Rect(0, 0, originalWidth * scale.x, originalHeight * scale.y);
is there a better way (or de facto) to do so? thanks a lot