Nexus/Library/PackageCache/com.unity.2d.sprite@b47733afba88/Editor/UI/SpriteEditor/SpriteFrameCapabilityWindow.uxml
2026-01-06 17:23:00 +01:00

15 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<UXML xmlns="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
<VisualElement name="__root__" pickingMode="Ignore">
<Toggle name="nameToggle" text="Name" class="toggle" tooltip="Lock/Unlock editing a SpriteRect's name."/>
<Toggle name="positionToggle" text="Position" class="toggle alternate_row" tooltip="Lock/Unlock editing a SpriteRect's position and size."/>
<Toggle name="borderToggle" text="Border" class="toggle" tooltip="Lock/Unlock editing a SpriteRect's border."/>
<Toggle name="pivotToggle" text="Pivot" class="toggle alternate_row" tooltip="Lock/Unlock editing a SpriteRect's pivot."/>
<Toggle name="createToggle" text="Create/Delete" class="toggle" tooltip="Lock/Unlock creation and deletion of SpriteRects."/>
<VisualElement name="warning" class="warning infobox">
<Image name="warningIcon" class="warningIcon"/>
<TextElement name="warningText" text="Editing data is deprecated. Unlocking fields for editing is temporarily available for now, but this option may be removed in a future version." class="warningText"/>
</VisualElement>
</VisualElement>
</UXML>