void UpdateIntersection() { intersectionVertices = BoxIntersection.UpdateIntersectionVertices(volumeTransform, Camera.main, volumeCameraIntersectionOffset); BoxIntersection.UpdateMesh(intersectionMesh, intersectionVertices); }
void OnDrawGizmos() { BoxIntersection.OnDrawGizmos(volumeTransform, intersectionVertices); }