How Unity batches moving GameObjects
Combine meshes manually

Enable dynamic batching

Unity always uses dynamic batchingAn automatic Unity process which attempts to render multiple meshes as if they were a single mesh for optimized graphics performance. The technique transforms all of the GameObject vertices on the CPU and groups many similar vertices together. More info
See in Glossary
for dynamic geometry such as Particle Systems

To use dynamic batching for meshes:

  1. Go to Edit > Project Settings > Player.
  2. In Other Settings, enable Dynamic Batching.

If your project uses URP, the Scriptable Render Pipeline (SRP) batcher is enabled by default. To enable dynamic batching instead, go to the URP Asset and enable Dynamic Batching.

Unity automatically batches moving meshes into the same draw call if they fulfill the criteria described in the common usage information.


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答
How Unity batches moving GameObjects
Combine meshes manually
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961