文档

Unity Engine

Unity Engine

batchingInterval

Specifies whether Unity updates canvases for batching only when rendering is performed, such as with OnDemandRendering, or every update at runtime in Player builds.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public static Canvas.BatchingInterval batchingInterval { get; set; }

Remarks

This property applies only at runtime in Player builds and has no effect in the Editor. The default value is Canvas.BatchingInterval.GatedByRendering.