Table of Contents

Method Get

Namespace
Velvet
Assembly
Velvet.Docs.dll

Get(string)

Gets a Portal mount target. Returns null if not registered.

public static VisualElement? Get(string id)

Parameters

id string

Identifier previously passed to Register(string, VisualElement).

Returns

VisualElement

The registered UnityEngine.UIElements.VisualElement, or null when id is null/empty or unregistered.