Canvas.BatchingInterval
Options for when Unity updates canvases for batching.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.UIModule
public enum Canvas.BatchingInterval
Remarks
Use this enum with the Canvas.batchingInterval property to choose the batching update behavior. This property applies only at runtime in Player builds and has no effect in the Editor.
Fields
Value | Description |
|---|---|
| AlwaysUpdate | Updates canvases for batching on every update, even when rendering is not required. |
| GatedByRendering | Updates canvases for batching only when rendering is required. |