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

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -