private float timeGreeting, timeInitialDelay; //the amount of time spent greeting the patient. // The amount of time to wait before speaking to patient #endregion Fields #region Methods /// <summary> /// Called by Manager after spawning a new patient. /// </summary> /// <param name="p">The New Patient</param> public void TriagePatientAdd(Patient p) { //p.PersonMove(triage.locationPatient, "Triage"); //Add patient to patient list //Debug.Log(patients); patients.Add(p); //Debug.Log(patients.Count); //tell patient to move to next open location p.PersonMove(patientLocations[patients.Count -1],tag,true); //tell patient to wait, and not tick down timer p.PatientToggleCountdown(true); //determine if I only have 1 patient if (patients.Count == 1) { newPatient = true; timeInitialDelay = setTimeInitialDelay; } }