private bool IsPlayerInProximity() { var inRange = Ranges.InRange(player.GetComponent <Transform>(), transform, config.activationRange); return(inRange); }