EditorWindow.TryGetOverlay

Declaration

public bool TryGetOverlay(string id, out Overlays.Overlay match);

Parameters

id ID of the overlay to retrieve.
match Contains the overlay with matching id, or null if no matching overlay was found.

Returns

bool Returns true if the overlay was found, false otherwise.

Description

Get an Overlay with matching ID from an EditorWindow canvas.


Did you find this page useful? Please give it a rating: