public void Pull(PullableFoodPullable pulled) { if (_pullables.Contains(pulled)) { currentPullable = pulled; Notify(new PullablePulledEvent(this)); } }
public void AddedToDish() { if (currentPullable != null) { _pullables.Remove(currentPullable); Destroy(currentPullable.gameObject); currentPullable = null; if (_pullables.Count == 0) { Notify(new IngredientDoneEvent(this)); } } }