private void MarkAsCompleted()
    {
        _TickImage.enabled = true;

        // Stopping to listen to the Cooking Pot event
        _IngredientAddedToCookingPotEvent.RemoveListener(OnIngredientAddedToCookingPot);
    }
Beispiel #2
0
 private void OnDisable()
 {
     _EventToListenTo.RemoveListener(OnEvent);
 }
Beispiel #3
0
 private void OnDisable()
 {
     CookingStations.Remove(this);
     _IngredientCollectedEvent.RemoveListener(OnCollectedIngredient);
     _IngredientModifiedEvent.RemoveListener(OnIngredientModified);
 }
Beispiel #4
0
 private void OnDisable()
 {
     _EventToTriggerOn.RemoveListener(OnEvent);
 }