Version: 2017.2

CanvasUpdateRegistry.TryRegisterCanvasElementForLayoutRebuild

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

Parameters

element Element to rebuild.

Returns

bool Was the element scheduled.

Description

Was the element scheduled.

Returns false if already exists in rebuild queue.