Exemplo n.º 1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.gameObject == _player)
     {
         //Debug.Log("enter");
         _pc.hitBySteam = true;
         _heatOverlay.StartHeat();
     }
 }
Exemplo n.º 2
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.gameObject == _player)
     {
         _playerCollisions.safeArea = true;
         _heatOverlay.StartHeat();
         //_heatOverlay.OnHeatTrigger(!_playerCollisions.safeArea);
     }
 }