This commit is contained in:
2026-05-19 17:39:03 +07:00
parent bf0ebe447d
commit 5da832bb57
559 changed files with 69543 additions and 1 deletions

View File

@@ -0,0 +1,48 @@
/* ヘッダー */
.header {
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 5px;
background-color: rgb(56, 56, 56);
}
.title {
-unity-font-style: bold;
font-size: 14px;
color: white;
}
ScrollView {
background-color: #383838;
border-width: 1px;
border-color: #2b2b2b;
border-radius: 4px;
padding: 10px;
}
Button {
margin-top: 10px;
}
.label-fixed-width .unity-label {
min-width: 220px;
max-width: 220px;
}
#exportButton {
height: 30px;
width: 90%;
font-size: 14px;
align-self: center;
border-width: 1px;
border-color: white;
}
#cancelImportButton {
height: 30px;
width: 90%;
font-size: 14px;
align-self: center;
margin-top: 5px;
}

View File

@@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: 163109c4175a61c4a893aa85977bce79
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
AssetOrigin:
serializedVersion: 1
productId: 337438
packageName: UX Importer for UI Toolkit
packageVersion: 0.1.6
assetPath: Assets/UXImporterUnityUiToolKit/Editor/ToolAsset/UXImporterToUITK.uss
uploadId: 840350

View File

@@ -0,0 +1,33 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
<!-- スタイルシートを読み込みます -->
<ui:Style src="UXImporterToUITK.uss" />
<!-- ヘッダー部分 -->
<ui:VisualElement name="header" class="header">
<ui:Label text="UX Importer for Unity UI Toolkit" class="title" />
<uie:ToolbarMenu name="language-menu" />
</ui:VisualElement>
<!-- メインコンテンツ -->
<ui:ScrollView>
<ui:Label name="inputSettingsLabel" text="Input Settings" style="-unity-font-style: bold;" />
<ui:VisualElement style="height: 5px; border-bottom-width: 1px; border-bottom-color: #555;" />
<uie:ObjectField name="jsonAssetField" class="label-fixed-width" />
<ui:VisualElement style="height: 10px;" />
<ui:Label name="outputSettingsLabel" text="Output Settings" style="-unity-font-style: bold;" />
<ui:VisualElement style="height: 5px; border-bottom-width: 1px; border-bottom-color: #555;" />
<uie:ObjectField name="outputDirectoryField" class="label-fixed-width" />
<uie:ObjectField name="figmaUIRootField" class="label-fixed-width" />
<ui:VisualElement style="height: 10px;" />
<ui:Label name="referenceSettingsLabel" text="Reference Settings" style="-unity-font-style: bold;" />
<ui:VisualElement style="height: 5px; border-bottom-width: 1px; border-bottom-color: #555;" />
<uie:ObjectField name="outputLocalizationField" class="label-fixed-width" />
<ui:VisualElement style="height: 10px;" />
<ui:Label name="fontSettingsLabel" text="Font Settings" style="-unity-font-style: bold;" />
<ui:VisualElement style="height: 5px; border-bottom-width: 1px; border-bottom-color: #555;" />
<uie:ObjectField name="defaultFontField" label="Default Font" class="label-fixed-width" />
<ui:VisualElement style="height: 10px;" />
<ui:Button text="Load Json and Export" name="exportButton" id="exportButton" />
<ui:Button name="cancelImportButton" id="cancelImportButton" />
</ui:ScrollView>
</ui:UXML>

View File

@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: 5c5ecbe294d46374b83b27654f8e8ffe
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
AssetOrigin:
serializedVersion: 1
productId: 337438
packageName: UX Importer for UI Toolkit
packageVersion: 0.1.6
assetPath: Assets/UXImporterUnityUiToolKit/Editor/ToolAsset/UXImporterToUITK.uxml
uploadId: 840350