update
This commit is contained in:
BIN
Assets/UXImporterUnityUiToolKit/Editor/JsonDiffPatchDotNet.dll
Normal file
BIN
Assets/UXImporterUnityUiToolKit/Editor/JsonDiffPatchDotNet.dll
Normal file
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: db12bd705fb15ce4888fb9e049cb5359
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 337438
|
||||
packageName: UX Importer for UI Toolkit
|
||||
packageVersion: 0.1.6
|
||||
assetPath: Assets/UXImporterUnityUiToolKit/Editor/JsonDiffPatchDotNet.dll
|
||||
uploadId: 840350
|
||||
8
Assets/UXImporterUnityUiToolKit/Editor/ToolAsset.meta
Normal file
8
Assets/UXImporterUnityUiToolKit/Editor/ToolAsset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: df91b23b175eb104589b3f0c20c4668a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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
|
||||
@@ -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>
|
||||
@@ -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
|
||||
8
Assets/UXImporterUnityUiToolKit/Editor/UIAsset.meta
Normal file
8
Assets/UXImporterUnityUiToolKit/Editor/UIAsset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 25e9b1edf68820246aa2c364dccef6c3
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,58 @@
|
||||
/* ヘッダー */
|
||||
.header {
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 5px 5px 5px;
|
||||
border-bottom: 1px solid rgb(56, 56, 56);
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Inspector全体のコンテナ */
|
||||
.root-container {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.title {
|
||||
-unity-font-style: bold;
|
||||
font-size: 14px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* 警告メッセージのラベル */
|
||||
.warning-label {
|
||||
font-size: 14px;
|
||||
padding: 10px 5px;
|
||||
white-space: normal; /* テキストの折り返しを許可 */
|
||||
}
|
||||
|
||||
/* 区切り線 */
|
||||
.separator {
|
||||
height: 1px;
|
||||
background-color: rgb(56, 56, 56);
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
/* テーブルリストのセクション */
|
||||
.tables-section {
|
||||
padding: 10px 5px;
|
||||
}
|
||||
|
||||
/* テーブルリストのタイトル */
|
||||
.title-label {
|
||||
-unity-font-style: bold;
|
||||
font-size: 14px;
|
||||
margin-bottom: 5px;
|
||||
white-space: normal; /* テキストの折り返しを許可 */
|
||||
}
|
||||
|
||||
/* テーブル名リストのコンテナ */
|
||||
.list-container {}
|
||||
|
||||
/* 個々のテーブル名のラベル */
|
||||
.table-name-label {
|
||||
margin-left: 15px; /* リスト項目をインデント */
|
||||
padding: 1px 0;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 71de67d97a4bd4345a4a2ef330ca58fb
|
||||
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/UIAsset/DataHubEditor.uss
|
||||
uploadId: 840350
|
||||
@@ -0,0 +1,36 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
|
||||
<!-- スタイルシートをリンクします -->
|
||||
<ui:Style src="DataHubEditor.uss" />
|
||||
|
||||
<!-- ヘッダー部分 -->
|
||||
<ui:VisualElement name="header" class="header">
|
||||
<ui:Label text="DataHub" class="title" />
|
||||
<uie:ToolbarMenu name="language-menu" />
|
||||
</ui:VisualElement>
|
||||
|
||||
<!-- Inspector全体のコンテナ -->
|
||||
<ui:VisualElement name="inspector-root" class="root-container">
|
||||
|
||||
<!-- セクション1: 警告メッセージ -->
|
||||
<ui:Label name="warning-label" class="warning-label" />
|
||||
|
||||
<!-- 区切り線 -->
|
||||
<ui:VisualElement name="separator" class="separator" />
|
||||
|
||||
<!-- セクション2: LocalizationTableのリスト -->
|
||||
<ui:VisualElement name="tables-section" class="tables-section">
|
||||
<ui:Label name="tables-title-label" class="title-label" />
|
||||
<ui:VisualElement name="tables-list-container" class="list-container" />
|
||||
</ui:VisualElement>
|
||||
|
||||
<!-- 区切り線 -->
|
||||
<ui:VisualElement name="addressables-separator" class="separator" />
|
||||
|
||||
<!-- セクション3: Addressables Groupのリスト -->
|
||||
<ui:VisualElement name="addressables-section" class="tables-section">
|
||||
<ui:Label name="addressables-title-label" class="title-label" />
|
||||
<ui:VisualElement name="addressables-list-container" class="list-container" />
|
||||
</ui:VisualElement>
|
||||
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7c99c36ae4294b54b9012a7074087582
|
||||
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/UIAsset/DataHubEditor.uxml
|
||||
uploadId: 840350
|
||||
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 570e536497cc67846b92166e0bbd644e
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 337438
|
||||
packageName: UX Importer for UI Toolkit
|
||||
packageVersion: 0.1.6
|
||||
assetPath: Assets/UXImporterUnityUiToolKit/Editor/UXImporterUnityUiToolKit.Editor.dll
|
||||
uploadId: 840350
|
||||
Reference in New Issue
Block a user