Ejemplo n.º 1
0
    private IEnumerator OkButtonPressedWithAnim()
    {
        _incidentManager.CloseCase(_caseNum, TransitionTime);
        //wait for the objects to move to the top of the screen
        yield return(new WaitForSeconds(TransitionTime));

        DisableButtons();
        _caseClosedButton.GetComponent <Button>().interactable = true;
        // animate our satisfaction objects to the satisfaction bar at the top of the screen
        yield return(EmailAnim(1f, "EmailShow"));

        _incidentManager.ShowNext();
    }