// Gets called if player enters the infraredpanel radius. Only changes comfort if the infraredpanel is on
 private void OnTriggerEnter(Collider other)
 {
     inWarmthRadius = true;
     if (infraredController.isOn() == true)
     {
         gettingWarm();
     }
 }
 public bool CheckifInfraredAreOn(InfraredController infraredController)
 {
     if (infraredController.isOn() == true)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }