- Home /
Question by
simpson45711 · Nov 26, 2014 at 12:11 PM ·
gui
Can I create a GUI Rect without having to specify any position coordinates/width/height
whenever i create a number of gui elements:
GUILayout.Label('1');
GUILayout.Label('1');
GUILayout.Label('1');
Their x and y coordinates are determined automatically on the screen and they are placed one after another. I want to use a Rect element with GUI.Label() so that I can draw a border around each label.
Can I create a rect element for each element without having specify its coordinates for each label?
Comment
Your answer

Follow this Question
Related Questions
Size GUiLayout 2 Answers
Level select design approaches. 0 Answers
[VR] How to display a canvas with Oculus 5 Answers
Text To Texture/Image 1 Answer
unity make a skin/texture to a character like the robot from the fps tutorial 1 Answer