Question by 
               yogeshkainthola · Jul 14, 2016 at 04:30 PM · 
                error  
              
 
              Showing Error CS1525: Unexpected symbol `)', expecting `;' or '{' ?
 using UnityEngine;
 
 using System.Collections;
 
 public class code : MonoBehaviour 
 {
 
     void OnGUI()
     {
         GUI.Button(new Root(Screen.width/2.5,Screen.height/3,Screen.width/5,Screen.height/10), "Play"))
         {
             Application.LoadLevel(0);
         }
         GUI.Button(new Root(Screen.width/2.5,Screen.height/3,Screen.width/5,Screen.height/10), "Quit"))
         {
             Application.Quit();
         }
     }
 }
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by Anas173 · Jul 14, 2016 at 04:57 PM
instead of all that. Use the new UI system. and use this function. it allows you to change to any scene you want instead of duplicating
 public void SceneChanger (string Scene) {
 
         SceneManager.LoadScene(Scene);
     }
Watch this..
https://unity3d.com/learn/tutorials/topics/user-interface-ui/ui-button
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                