Hi,
how can I add a text AND a picture onto a box or button like this?:
GUI.Box(Rect(Screen.width / 2 - 100, 200 + Screen.height / 3,200,100),“some text” + My_tx);
Hi,
how can I add a text AND a picture onto a box or button like this?:
GUI.Box(Rect(Screen.width / 2 - 100, 200 + Screen.height / 3,200,100),“some text” + My_tx);
You can use a new instance of GUIContent which allows you to have both an image and a text content (and a tooltip) and use it in place of your text.