文档

Unity Engine

Unity Engine

GatedByRendering

Updates canvases for batching only when rendering is required.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
GatedByRendering = 0

Remarks

Use this default option to update canvas batching only when Unity performs rendering. For example, when you use OnDemandRendering, batching updates run only on rendered frames, which can improve performance. This applies only at runtime in Player builds and has no effect in the Editor.