Documentation

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.
Read time 1 minuteLast updated 2 months ago

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.