Example #1
0
 private void OnDisable()
 {
     itemCount--;
     if (itemCount == 0)
     {
         //Debug.Log("Are you even running?");
         AllItemsCollected?.Invoke();
         //Debug.Log("Are you even working?");
     }
 }
 private void OnAllItemsCollected()
 {
     AllItemsCollected?.Invoke(this, EventArgs.Empty);
 }