private void OnTriggerExit(Collider other) { if (other.gameObject == _player) { //Debug.Log("exit"); _pc.hitBySteam = false; _heatOverlay.EndHeat(); } }
private void OnTriggerExit(Collider other) { if (other.gameObject == _player) { _playerCollisions.safeArea = false; _heatOverlay.EndHeat(); //_heatOverlay.OnHeatTrigger(!_playerCollisions.safeArea); } }