Scripting API

CanvasUpdateRegistry

class in UnityEngine.UI · UnityEngine.UI

10 of 10 of Unity's members
In Tassix

When the canvases update at the end of the frame: dirty layouts rebuild, then dirty graphics regenerate their meshes and materials.

Properties 1

static CanvasUpdateRegistry instance { get; }

Methods 8

static void DisableCanvasElementForRebuild(ICanvasElement element)
static bool IsRebuildingGraphics()
static bool IsRebuildingLayout()
static void RegisterCanvasElementForGraphicRebuild(ICanvasElement element)
static void RegisterCanvasElementForLayoutRebuild(ICanvasElement element)
static bool TryRegisterCanvasElementForGraphicRebuild(ICanvasElement element)
static bool TryRegisterCanvasElementForLayoutRebuild(ICanvasElement element)
static void UnRegisterCanvasElementForRebuild(ICanvasElement element)