Esempio n. 1
0
 /// <summary>
 /// Before destroying the customer prefab it will send out a request
 /// to customer spawner to create a new customer as replacment.
 /// </summary>
 private void OnDestroy()
 {
     Debug.Log("Destroyed called");
     customerSpawner.FillTheLeftCustomer();
 }