Version: 2019.1

CanvasUpdateRegistry.TryRegisterCanvasElementForLayoutRebuild

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

Parameters

elementElement to rebuild.

Returns

bool Was the element scheduled.

Description

Was the element scheduled.

Returns false if already exists in rebuild queue.