文档

Unity Engine

Unity Engine

onRequestRebuild

(Editor Only) Event that gets fired whenever the data in the CanvasRenderer gets invalidated and needs to be rebuilt.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Event
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public static event CanvasRenderer.OnRequestRebuild onRequestRebuild

Remarks

For instance, whenever a Texture gets re-imported this event gets fired.