Extension methods for the Mesh class to configure pre-baked collision data.
This class provides extension methods that allow you to control whether collision data should be pre-baked into mesh assets during player builds. Pre-baking collision data improves runtime performance when meshes are used with MeshCollider components.
| Method | Description |
|---|---|
| HasPreBakeCollisionMesh | Checks whether the mesh should pre-bake collision data during a player build. |
| SetPreBakeCollisionMesh | Enables or disables pre-baked collision data for this mesh. |