ドキュメント

Unity Engine

Unity Engine

CreateContent(Layout)

Creates a new VisualElement containing the contents of this Overlay.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public VisualElement CreateContent(Layout requestedLayout)

Parameters

requestedLayout

The layout that contents should be styled to match.

Returns

Type

Description

VisualElementA new Visual Element containing the contents of the Overlay.

Remarks

If the requestedLayout cannot be used, then the system uses another layout. If the layout is not able to be created, the default Panel layout content is returned.