private void IniciarArticulo(int index) { switch (index) { case 0: EP0.Volver(); break; case 1: EP1.Volver(); break; case 2: EP2.Volver(); break; case 3: EP3.Volver(); break; case 4: EP4.Volver(); break; case 5: EP5.Volver(); break; } }
// Use this for initialization void Start() { enemies = GameObject.Find("speedyAlien").GetComponent<EP2>(); }