//stop listening to feed the dog private void OnDestroy() { _feedSignal.Unlisten(increaseSize); _restartSignal.Unlisten(setup); }
private void OnDestroy() { _deadSignal.Unlisten(stopCreation); _restartSignal.Unlisten(startCreation); }