ドキュメント

Unity Engine

Unity Engine

TryGetOverlay(string, out Overlay)

Get an Overlay with matching ID from an EditorWindow canvas.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

TryGetOverlay(string, Overlay)

public bool TryGetOverlay(string id, out Overlay match)

Parameters

ID of the overlay to retrieve.

match

Contains the overlay with matching id, or null if no matching overlay was found.

Returns

Type

Description

boolReturns true if the overlay was found, false otherwise.