ErnSur / UI-Toolkit-Plus

Boilerplate Code Generation, Tabs, Reorderable Manipulator, Built-in USS Exporter
MIT License
182 stars 8 forks source link

Tracing generated C# scripts #6

Closed Shaun-Fong closed 1 year ago

Shaun-Fong commented 1 year ago

plz review. @ErnSur

ErnSur commented 1 year ago

Hi @Shaun-Fong

design that I would like to avoid:

The idea for a better approach:

Example:

<ui:UXML gen-cs-guid="9b5172de3610e482c94f864fb486ebbb" code-gen-prefix="_" xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" quick-eye="QuickEye.UIToolkit" xsi="http://www.w3.org/2001/XMLSchema-instance" editor-extension-mode="False">
    <ui:VisualElement />
</ui:UXML>
ErnSur commented 1 year ago

Closed in #19