public override void Interact() { base.Interact(); if (_cm.isCrying) { _gm.goodJobCounter++; GlobalManager.instance.jobs.Add("Comforted the crying " + _cm.name + " (+1pts)"); _cm.SwitchToState(ChildManager.ChildrenAnimation.Idle); _cm.isCrying = false; _cm.StopSound(); } if (_cm.isEatingBad) { _gm.goodJobCounter++; GlobalManager.instance.jobs.Add("Took junk food away from a child"); _cm.SwitchToState(ChildManager.ChildrenAnimation.Idle); _cm.isEatingBad = false; _cm.StopSound(); } if (_cm.isHoldingBeer) { _gm.goodJobCounter++; GlobalManager.instance.jobs.Add("Took beer away from " + _cm.name + " (+1pts)"); _cm.beer.SetActive(false); _cm.isHoldingBeer = false; } }