void Start()
 {
     reiniciarMenuGO             = reiniciar;
     salirMenuGO                 = salir;
     gameOverMenuGO              = gameOver;
     _camera                     = GameObject.Find("Camera");
     this._gui                   = _camera.AddComponent <SplashScreenGUI>();
     this._gui.StartGameDelegate = this.startGame;
 }
Example #2
0
 void Start()
 {
     _camera   = GameObject.Find("Camera");
     this._gui = _camera.AddComponent <SplashScreenGUI>();
     this._gui.StartGameDelegate = this.startGame;
 }
		void Start () {
			_camera = GameObject.Find("Camera");	
			this._gui = _camera.AddComponent<SplashScreenGUI>();
			this._gui.StartGameDelegate = this.startGame;
		}