Window Framework for UI Toolkit v2.0.x
GWG.Extensions.TextureAssetEditor Class Reference

Sample UI Toolkit inspector cloning an assigned texture-asset UXML tree. More...

Inheritance diagram for GWG.Extensions.TextureAssetEditor:
Collaboration diagram for GWG.Extensions.TextureAssetEditor:

Public Member Functions

override VisualElement CreateInspectorGUI ()
 Clones the assigned editor UXML; missing reference fails instead of generating fallback.

Private Attributes

VisualTreeAsset m_VisualTree

Detailed Description

Sample UI Toolkit inspector cloning an assigned texture-asset UXML tree.

The serialized m_VisualTree reference must be valid; this inspector does not load a fallback by path or repair missing references. Binding paths inside UXML determine edits.

Member Function Documentation

◆ CreateInspectorGUI()

override VisualElement GWG.Extensions.TextureAssetEditor.CreateInspectorGUI ( )
inline

Clones the assigned editor UXML; missing reference fails instead of generating fallback.

Returns
New inspector subtree owned by the Unity Inspector.

Field Documentation

◆ m_VisualTree

VisualTreeAsset GWG.Extensions.TextureAssetEditor.m_VisualTree
private