unity3d - Why is my code duplicating the name of a button? -
I have tried to customize my button in unity, but for some reason the name of the button has been repeated in the corner Button, and can not be customized / removed How do I get rid of duplicates?
public GUIStyle style; Public texture load; Public Texture Background Fiction; Zero onGUI () {GUI.skin.button = style; GUI.DrawTitxture (new reset (0, 0, screen.width, screen.height), background suffix, scale mode.ScaleTofit); //GUI.DrawTitxture (new reset (0, 0, 200, 73), load, scale mode. If (GUI.Button (new text (screen.width / 2.5f, screen.ighight / 5, 200,73), "load")) {Application.LoadLevel (1); } {Application.Quit ()) ("GUI button" (New Rect (Screen with / 2.5F, screen. HEIGHT / 3, screen.width / 5, screen. HEIGHT / 10), "Exit game") {application.Quit () ; }}
Comments
Post a Comment