Documentation

Unity Engine


Unity Engine


CreateVariantField(IAssetEntry, string, ResourceTable)

Builds the field that edits one variant value of the entry.
Read time 1 minuteLast updated a month ago

Definition

VisualElement CreateVariantField(IAssetEntry entry, string variantKey, ResourceTable table)

Parameters

The asset entry to edit.

variantKey

The variant key the field edits.

The table that owns the entry, used for undo and dirtying.

Returns

Type

Description

VisualElementThe visual element that edits the variant value.