Version: 2019.2

CanvasUpdateRegistry.TryRegisterCanvasElementForGraphicRebuild

Switch to Manual
public static bool TryRegisterCanvasElementForGraphicRebuild (UI.ICanvasElement element);

Parameters

elementElement to rebuild.

Returns

bool Was the element scheduled.

Description

Rebuild the layout of the given element.

Returns false if already exists in rebuild queue.