Exemplo n.º 1
0
        public static IEnumerable <Collider> boxcastBroadphaseByType <T>(Collider collider, int layerMask = allLayers)
        {
            var bounds = collider.bounds;

            return(_spatialHash.aabbBroadphaseByType <T>(ref bounds, layerMask));
        }