I want to change sprite x and y size for fit the screen width and screen heigh. How can i use Screen.height and Screen.width functions on it ? I tried GUI.Label but it is not what i want.
(0,Screen.height/2 -Screen.height/4,Screen.width,Screen.Heigh/2) pozition and size value should have but when i use GUI.Label and change size the sprite size doesnt change. Sorry for my english. Thank you ...
This is what i tried:
GUI.Label ( new Rect (0,Screen.height/2 -Screen.height/4,Screen.width,Screen.Heigh/2) , image);