Resources and approaches for improving performance by combining static GameObjectsThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary into fewer draw calls.
| Page | Description |
|---|---|
| Introduction to static batching | Understand how Unity creates batches of static GameObjects to reduce draw calls. |
| Set up GameObjects for static batching | Get the best results from batching, and make sure Unity batches GameObjects. |
| Enable static batching | Batch static objects at build time, or at runtime with the StaticBatchingUtility API. |
| Combine meshes manually | Merge multiple meshes into a single meshThe main graphics primitive of Unity. Meshes make up a large part of your 3D worlds. Unity supports triangulated or Quadrangulated polygon meshes. Nurbs, Nurms, Subdiv surfaces must be converted to polygons. More info See in Glossary that Unity can render in a single draw call. |
| Access properties in combined meshes | Use MaterialPropertyBlocks to change properties of combined meshes without breaking batching. |