Sorry About This I’m New, I keep Getting A parsing Error And I Don’t Know Why… Can Anybody Help Me?
///
/// Main menu.
/// Attached To Main Camera
/// </summary>
using UnityEngine;
using System.Collections;
public class MainMenu : MonoBehaviour {
public Texture BackGroundTexture;
void OnGUI(){
// Display Our backGround Texture
GUI.DrawTexture (new Rect (0, 0, Screen.width, Screen.height), BackGroundTexture);
//Displays Our Button
if (GUI.Button (new Rect( Screen.width * .5f, Screen.height * .5f, Screen.width * .5f, Screen.height * .1f), "Play Game")){
}