Storyline+Dialog初步
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="True">
|
||||
<Style src="project://database/Packages/io.continis.subassets/UI/UIToolkit/ProjectSettings_Styles.uss?fileID=7433441132597879392&guid=c3d4e5f6a7b8c9d0e1f2a3b4c5d6a7b8&type=3#ProjectSettings_Styles" />
|
||||
<ui:VisualElement name="Container" style="flex-grow: 1;">
|
||||
<ui:Label name="Title" text="SubAssets Toolbox" class="header" />
|
||||
<ui:ScrollView name="ContentScroll">
|
||||
<ui:Label text="Patch References" class="subtitle" />
|
||||
<ui:EnumField name="RedirectionModeField" label="Interaction Mode" tooltip="Controls how reference redirection behaves when moving assets/sub-assets." type="SubAssetsToolbox.Editor.ReferencePatchingMode, SubAssetsToolbox.Editor" value="AskEachTime" />
|
||||
<ui:ListView name="ExtensionsList" reorderable="true" reorder-mode="Animated" show-border="true" show-foldout-header="true" header-title="File Types To Scan For References" show-add-remove-footer="true" tooltip="File extensions to scan when redirecting references. Only YAML-serialized assets that can contain object references need to be listed." />
|
||||
<ui:Button name="ResetBtn" text="Reset to Default" tooltip="Resets the extensions to a sensible list of defaults." />
|
||||
</ui:ScrollView>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a8aa26680d8cc45b99cd7b474fafc455
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 284154
|
||||
packageName: SubAssets Toolbox
|
||||
packageVersion: 1.1.0
|
||||
assetPath: Packages/io.continis.subassets/UI/UIToolkit/ProjectSettings.uxml
|
||||
uploadId: 869944
|
||||
@@ -0,0 +1,31 @@
|
||||
#Container {
|
||||
right: 3px;
|
||||
margin-left: 12px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
#Title {
|
||||
font-size: 19px;
|
||||
-unity-font: initial;
|
||||
margin-bottom: 10px;
|
||||
-unity-font-definition: url("project://database/Packages/io.continis.subassets/UI/Fonts/Inter-SemiBold.ttf?fileID=12800000&guid=79347a679a7e7497f8e487e1232b87ce&type=3#Inter-SemiBold");
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
-unity-font-definition: url("project://database/Packages/io.continis.subassets/UI/Fonts/Inter-SemiBold.ttf?fileID=12800000&guid=79347a679a7e7497f8e487e1232b87ce&type=3#Inter-SemiBold");
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ExtensionsList {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
#ResetBtn {
|
||||
align-self: flex-end;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
#ContentScroll #unity-content-container {
|
||||
margin-right: 4px;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c3d4e5f6a7b8c9d0e1f2a3b4c5d6a7b8
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 284154
|
||||
packageName: SubAssets Toolbox
|
||||
packageVersion: 1.1.0
|
||||
assetPath: Packages/io.continis.subassets/UI/UIToolkit/ProjectSettings_Styles.uss
|
||||
uploadId: 869944
|
||||
@@ -0,0 +1,10 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
|
||||
<Style src="project://database/Packages/io.continis.subassets/UI/UIToolkit/RenameSubAssetWindow_Styles.uss?fileID=7433441132597879392&guid=a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6&type=3#RenameSubAssetWindow_Styles"/>
|
||||
<ui:VisualElement name="RenameRoot">
|
||||
<ui:TextField name="NameField" label="New name"/>
|
||||
<ui:VisualElement name="ButtonRow">
|
||||
<ui:Button name="CancelBtn" text="Cancel"/>
|
||||
<ui:Button name="RenameBtn" text="Rename"/>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6a7
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 284154
|
||||
packageName: SubAssets Toolbox
|
||||
packageVersion: 1.1.0
|
||||
assetPath: Packages/io.continis.subassets/UI/UIToolkit/RenameSubAssetWindow.uxml
|
||||
uploadId: 869944
|
||||
@@ -0,0 +1,18 @@
|
||||
#RenameRoot {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
#ButtonRow {
|
||||
flex-direction: row;
|
||||
justify-content: flex-end;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
#NameField > Label {
|
||||
min-width: 70px;
|
||||
}
|
||||
|
||||
#ButtonRow > Button {
|
||||
width: 80px;
|
||||
height: 24px;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 284154
|
||||
packageName: SubAssets Toolbox
|
||||
packageVersion: 1.1.0
|
||||
assetPath: Packages/io.continis.subassets/UI/UIToolkit/RenameSubAssetWindow_Styles.uss
|
||||
uploadId: 869944
|
||||
15
Packages/io.continis.subassets/UI/UIToolkit/Styles.uss
Normal file
15
Packages/io.continis.subassets/UI/UIToolkit/Styles.uss
Normal file
@@ -0,0 +1,15 @@
|
||||
#Separator {
|
||||
background-color: var(--unity-colors-inspector_titlebar-border);
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
margin-top: 6px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
#SubAssetField .unity-object-field__selector {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#SubAssetsList .unity-foldout__toggle {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
18
Packages/io.continis.subassets/UI/UIToolkit/Styles.uss.meta
Normal file
18
Packages/io.continis.subassets/UI/UIToolkit/Styles.uss.meta
Normal file
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6e16c6dfd32f847f4a11bb13556553e5
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 284154
|
||||
packageName: SubAssets Toolbox
|
||||
packageVersion: 1.1.0
|
||||
assetPath: Packages/io.continis.subassets/UI/UIToolkit/Styles.uss
|
||||
uploadId: 869944
|
||||
@@ -0,0 +1,5 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
|
||||
<Style src="project://database/Packages/io.continis.subassets/UI/UIToolkit/Styles.uss?fileID=7433441132597879392&guid=6e16c6dfd32f847f4a11bb13556553e5&type=3#Styles"/>
|
||||
<ui:VisualElement name="Separator"/>
|
||||
<ui:ListView show-foldout-header="true" header-title="Sub-Assets" show-bound-collection-size="false" selection-type="Single" name="SubAssetsList" reorderable="true" show-add-remove-footer="false" reorder-mode="Animated" show-border="false" show-alternating-row-backgrounds="None" horizontal-scrolling="false"/>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 213eed75602b6410d8cdd7fd24509144
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 284154
|
||||
packageName: SubAssets Toolbox
|
||||
packageVersion: 1.1.0
|
||||
assetPath: Packages/io.continis.subassets/UI/UIToolkit/SubassetAwareExtras.uxml
|
||||
uploadId: 869944
|
||||
@@ -0,0 +1,5 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
|
||||
<Style src="project://database/Packages/io.continis.subassets/UI/UIToolkit/Styles.uss?fileID=7433441132597879392&guid=6e16c6dfd32f847f4a11bb13556553e5&type=3#Styles"/>
|
||||
<ui:VisualElement style="flex-direction: row; align-items: center;"/>
|
||||
<uie:ObjectField name="SubAssetField"/>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a3eb80c229d604b8a8483f6df0d7f204
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 284154
|
||||
packageName: SubAssets Toolbox
|
||||
packageVersion: 1.1.0
|
||||
assetPath: Packages/io.continis.subassets/UI/UIToolkit/SubassetLine.uxml
|
||||
uploadId: 869944
|
||||
@@ -0,0 +1,21 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
|
||||
<Style src="project://database/Packages/io.continis.subassets/UI/UIToolkit/WelcomeScreen_Styles.uss?fileID=7433441132597879392&guid=28d9a404ff38a4f2abf61d0507d2dc56&type=3#WelcomeScreen_Styles" />
|
||||
<ui:VisualElement name="WelcomeScreen" style="flex-grow: 1;">
|
||||
<ui:VisualElement name="Header">
|
||||
<ui:VisualElement name="Logo" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="MainBody" style="flex-grow: 1;">
|
||||
<ui:VisualElement name="Spacer" />
|
||||
<ui:Label tabindex="-1" text="Welcome to SubAssets Toolbox!" parse-escape-sequences="true" display-tooltip-when-elided="true" class="Message" style="white-space: normal;" />
|
||||
<ui:Label tabindex="-1" text="If you're new, take a moment to read the documentation." parse-escape-sequences="true" display-tooltip-when-elided="true" class="Message" style="white-space: normal;" />
|
||||
<ui:Button text="Open documentation" parse-escape-sequences="true" display-tooltip-when-elided="true" name="DocsBtn" class="BigButton" />
|
||||
<ui:VisualElement name="Spacer" style="flex-grow: 1;" />
|
||||
<ui:Button text="Email support" parse-escape-sequences="true" display-tooltip-when-elided="true" name="EmailBtn" class="MediumButton" />
|
||||
<ui:Button text="Join Discord" parse-escape-sequences="true" display-tooltip-when-elided="true" name="DiscordBtn" class="MediumButton" />
|
||||
<ui:Button text="Explore other tools" display-tooltip-when-elided="true" name="OtherToolsBtn" class="MediumButton" />
|
||||
<ui:Button text="Write a review" display-tooltip-when-elided="true" name="ReviewBtn" class="MediumButton" />
|
||||
<ui:Label tabindex="-1" text="Note: You can always access this window again from the <b>Tools > Codecks Scene Notes > Welcome screen</b> menu." parse-escape-sequences="true" display-tooltip-when-elided="true" class="Message" style="white-space: normal; display: none;" />
|
||||
<ui:VisualElement name="Spacer" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1ad4f2b6f50fc4b74a7886c0f754da60
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 284154
|
||||
packageName: SubAssets Toolbox
|
||||
packageVersion: 1.1.0
|
||||
assetPath: Packages/io.continis.subassets/UI/UIToolkit/WelcomeScreen.uxml
|
||||
uploadId: 869944
|
||||
@@ -0,0 +1,55 @@
|
||||
#MainBody {
|
||||
margin-right: 20px;
|
||||
margin-left: 20px;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.BigButton {
|
||||
height: 40px;
|
||||
margin-top: 1px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.MediumButton {
|
||||
height: 24px;
|
||||
margin-top: 1px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.Message {
|
||||
margin-top: 0;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#Spacer {
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
#Header {
|
||||
padding-top: 0;
|
||||
padding-right: 0;
|
||||
padding-bottom: 0;
|
||||
padding-left: 0;
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
min-height: 80px;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
max-height: 120px;
|
||||
-unity-background-scale-mode: scale-and-crop;
|
||||
margin-bottom: 0;
|
||||
margin-top: 10px;
|
||||
-unity-font-style: bold;
|
||||
margin-right: 10px;
|
||||
margin-left: 10px;
|
||||
background-image: url("project://database/Packages/io.continis.subassets/UI/Images/Header.png?fileID=2800000&guid=fa7bd99e0d67f4c099433f6fdb324f3b&type=3#Header");
|
||||
}
|
||||
|
||||
#Logo {
|
||||
-unity-background-scale-mode: scale-to-fit;
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 28d9a404ff38a4f2abf61d0507d2dc56
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 284154
|
||||
packageName: SubAssets Toolbox
|
||||
packageVersion: 1.1.0
|
||||
assetPath: Packages/io.continis.subassets/UI/UIToolkit/WelcomeScreen_Styles.uss
|
||||
uploadId: 869944
|
||||
Reference in New Issue
Block a user