示例#1
0
    private IEnumerator RightButtonWithAnim(ChoiceFeedback feedback)
    {
        if (OfficerController.m_officers.Count >= CurrentIncident.IncidentContent.OfficerReq)
        {
            OfficerController.RemoveOfficer(CurrentIncident.IncidentContent.OfficerReq, CurrentIncident.IncidentContent.TurnReq);
            if (feedback.FeedbackRating != -1)
            {
                yield return(WarningBox.ShowWarning(feedback.Feedback, error: false));
            }
            DisableButtons();
            //send officers to resolve issue
            yield return(EmailAnim(1f, "EmailShow"));

            _incidentManager.ResolvePressed();
        }
    }