I have tried to customise my buttons in unity, but for some reason the name of the button is duplicated in the corner of the button, and cannot be customised/deleted. How do I get rid of the duplicate?
Screenshot
public GUIStyle style;
public Texture Load;
public Texture backGroundTexture;
void OnGUI() {
GUI.skin.button = style;
GUI.DrawTexture (new Rect (0, 0, Screen.width, Screen.height), backGroundTexture, ScaleMode.ScaleToFit);
//GUI.DrawTexture (new Rect (0, 0, 200, 73), Load, ScaleMode.ScaleToFit);
if (GUI.Button (new Rect (Screen.width / 2.5f,Screen.height / 5 ,200,73), "Load")) {
Application.LoadLevel(1);
}
if (GUI.Button (new Rect (Screen.width / 2.5f, Screen.height / 3, Screen.width / 5, Screen.height/10), "Exit Game")) {
Application.Quit();
}
}