HOw to make a custom mesh collider

im have a map and it is way to detailed for me to use the basic colliders, so is there anyway i can make a custom mesh collider using js or c#?

I would have created a “simplified” version of the level (single mesh) and used Component>Physics>Mesh Collider.
You’re Welcome.