// Use this for initialization void Start() { popCounter = FindObjectOfType <PopulationController>(); popCounter.IncreasePopulationSize(maxPeopleInTheHouse); }
private void OnDestroy() { popCounter.IncreasePopulationSize(-maxPeopleInTheHouse); }