private bool CheckCollisionAtPosition(Collider collider)
        {
            if (collider is SphereCollider)
            {
                return(PhysicsExtensions.CheckSphere(collider as SphereCollider, layerMask, QueryTriggerInteraction.Ignore));
            }
            if (collider is BoxCollider)
            {
                return(PhysicsExtensions.CheckBox(collider as BoxCollider, layerMask, QueryTriggerInteraction.Ignore));
            }
            if (collider is CapsuleCollider)
            {
                return(PhysicsExtensions.CheckCapsule(collider as CapsuleCollider, layerMask, QueryTriggerInteraction.Ignore));
            }

            return(false);
        }