CreateVariantField(IAssetEntry, string, ResourceTable)
Builds the field that edits one variant value of the entry.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Method
- Namespace: Unity.Localization.Editor
- Assembly: UnityEditor
VisualElement CreateVariantField(IAssetEntry entry, string variantKey, ResourceTable table)
Parameters
The asset entry to edit.
The variant key the field edits.
The table that owns the entry, used for undo and dirtying.
Returns
Type | Description |
|---|---|
| VisualElement | The visual element that edits the variant value. |