ResourceEntryDrawer
Renders the value cell for one IResourceEntry kind within a locale column.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Class
- Namespace: Unity.Localization.Editor
- Assembly: UnityEditor
public abstract class ResourceEntryDrawer
Remarks
Subclass this and mark the subclass with ResourceEntryDrawerAttribute to add a custom entry kind to the table editor. The drawer builds only the value editor; the window owns the tree structure, the variant child rows, and the per-row action menu. Read ResourceEntryContext.EntryProperty to bind a field to the serialized value, or edit the entry directly and call ResourceEntryContext.MarkDirty.
Methods
Method | Description |
|---|---|
| CreateCell | Builds the visual element that edits the entry's value. |