Version: 2023.2

PlayerSettings.spriteBatchVertexThreshold

切换到手册
public static int spriteBatchVertexThreshold ;

描述

Specifies the max vertex limit for Sprite batching.

Unity will automatically batch SpriteRenderers into the same draw call if they share the same Material and fulfill other criteria. The default limit is 300 vertices and this setting allows users to override this limit in the range (300, 8000). See also: Dynamic Batching.