Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     Nivel1              = new Minijuegos(1, 600, 5);
     Cuerpo              = GetComponent <Rigidbody2D>();
     Velocidad           = 6;
     Posicion            = GetComponent <Transform>();
     Nivel1.ExpMaxAtaque = (Nivel1.ExpPorNivel / Nivel1.NumAtaques);
     Debug.Log(Nivel1.ExpMaxAtaque);
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     Nivel2 = new Minijuegos(2, 600, 3);
 }