Esempio n. 1
0
 public void LeavingCustomer(GameObject customer)
 {
     if (customerList.Contains(customer.GetComponent <Customer>()))
     {
         Debug.Log("Removed Customer");
         customerList.Remove(customer.GetComponent <Customer>());
     }
     spawner.LeaveCustomer(customer);
 }