// ## FUNCION TRANSICION ## public override int Transicion(int state, int previousState) { if (m_time > 4) { if (lock2 == 0) { vida.cambiaBarraVida(); lock2++; } imgEscribe.SetActive(false); textEscribe.SetActive(false); m_time = 0; lock1 = 0; return(state = previousState); } return(state); }