private bool FilterVolume(CameraBehaviorVolume volume, Vector3 pos)
        {
            var distance = volume.transform.position - pos;

            if (distance.magnitude <= volume.Radius)
            {
                return(true);
            }

            return(false);
        }
        private void CheckVolumes(Vector3 pos)
        {
            var res = _volumes.Find(x => FilterVolume(x, pos));

            if (res == null)
            {
                return;
            }

            _currentVolume = res;
        }
 private void Awake()
 {
     _self = (CameraBehaviorVolume)target;
 }