Example #1
0
 public Escena1(ControladoraEscenas managerRef)
 {
     if (Application.loadedLevelName != Escenas.Escena1.ToString())
     {
         Application.LoadLevel(Escenas.Escena1.ToString());
     }
 }
Example #2
0
		public Escena1(ControladoraEscenas managerRef)
		{
			if(SceneManager.GetActiveScene().name != Escenas.Escena1.ToString())
			{
				SceneManager.LoadScene(Escenas.Escena1.ToString());
			}
		}
Example #3
0
 public Escena1(ControladoraEscenas managerRef)
 {
     if(Application.loadedLevelName != Escenas.Escena1.ToString())
     {
         Application.LoadLevel(Escenas.Escena1.ToString());
     }
 }
        public EscenaWardInteriorPlantaSuperior(ControladoraEscenas managerRef)
        {
            if (Application.loadedLevelName != Escenas.EscenaWardInteriorPlantaSuperior.ToString())
            {
                Application.LoadLevel(Escenas.EscenaWardInteriorPlantaSuperior.ToString());
            }

            InicializarDatos();
        }
Example #5
0
        public Escena2(ControladoraEscenas managerRef)
        {
            if(Application.loadedLevelName != Escenas.Escena2.ToString())
            {
                Application.LoadLevel(Escenas.Escena2.ToString());
            }

            InicializarDatos ();
        }
Example #6
0
        public MenuPrincipal(ControladoraEscenas managerRef)
        {
            if(!Application.loadedLevelName.Contains(Escenas.MenuPrincipal.ToString()))
            {
                Application.LoadLevel(Escenas.MenuPrincipal.ToString());
            }

            InicializarDatos ();
        }
        public EscenaWardInteriorPlantaSuperior(ControladoraEscenas managerRef)
        {
            if(Application.loadedLevelName != Escenas.EscenaWardInteriorPlantaSuperior.ToString())
            {
                Application.LoadLevel(Escenas.EscenaWardInteriorPlantaSuperior.ToString());
            }

            InicializarDatos ();
        }
Example #8
0
		public MenuPrincipal(ControladoraEscenas managerRef)
		{
			if(!SceneManager.GetActiveScene().name.Contains(Escenas.MenuPrincipal.ToString()))
			{
				SceneManager.LoadScene(Escenas.MenuPrincipal.ToString());
			}

			InicializarDatos ();
		}
Example #9
0
        public MenuPrincipal(ControladoraEscenas managerRef)
        {
            if (!Application.loadedLevelName.Contains(Escenas.MenuPrincipal.ToString()))
            {
                Application.LoadLevel(Escenas.MenuPrincipal.ToString());
            }

            InicializarDatos();
        }
Example #10
0
		public Escena3(ControladoraEscenas managerRef)
		{
			if(SceneManager.GetActiveScene().name != Escenas.Escena3.ToString())
			{
				SceneManager.LoadScene(Escenas.Escena3.ToString());
			}

			InicializarDatos ();
		}
Example #11
0
        public Escena2(ControladoraEscenas managerRef)
        {
            if (Application.loadedLevelName != Escenas.Escena2.ToString())
            {
                Application.LoadLevel(Escenas.Escena2.ToString());
            }

            InicializarDatos();
        }
		public EscenaWardInteriorPlantaSuperior(ControladoraEscenas managerRef)
		{
			if(SceneManager.GetActiveScene().name != Escenas.EscenaWardInteriorPlantaSuperior.ToString())
			{
				SceneManager.LoadScene(Escenas.EscenaWardInteriorPlantaSuperior.ToString());
			}
			
			InicializarDatos ();
		}
Example #13
0
	private void InicializarControladoras()
	{
		USERPATH = Application.persistentDataPath;

		//-------------- Inicializo los Handlers ----------------\\
		controladoraJugador = new ControladoraJugador();
		controladoraEscenas = new ControladoraEscenas();
		controladoraSonidos = new ControladoraSonidos();
		controladoraGUI = new ControladoraGUI();
		controladoraJuego = new ControladoraJuego();
	}