﻿using UnityEngine;
using System.Collections;

public class mainMenuHandler : MonoBehaviour {
	
//	private Texture2D startButton;
	
	void OnGUI () {

		GUI.backgroundColor = Color.clear;

		if (GUI.Button (new Rect (260,300, 300, 300), "")) {
//			print ("Start Game");
			//start game
			Application.LoadLevel(2);

		}
		
		if (GUI.Button (new Rect (860, 300, 300, 300), "")) {
			print ("Level Selection");
			Application.LoadLevel(1);
		}
	}
	
}
﻿using UnityEngine;
using System.Collections;

public class mainMenuHandler : MonoBehaviour {
	
	public Texture2D startButton;
	
	void OnGUI () {

		GUI.backgroundColor = Color.clear;

		if (GUI.Button (new Rect (Screen.width/20*3,Screen.height/10*4, 250, 250), startButton)) {
//			print ("Start Game");
			//start game
			Application.LoadLevel(2);

		}
		
		if (GUI.Button (new Rect (Screen.width/10*5, Screen.height/10*4, 250, 250), startButton)) {
			print ("Level Selection");
			Application.LoadLevel(1);
		}
	}
	
}
Fix pos of main menu buttons
Fix pos of main menu buttons
