uChema
4 年前
当前提交
31d75482
共有 48 个文件被更改,包括 678 次插入 和 255 次删除
-
6UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset
-
8UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Localization-AssetTables.asset
-
50UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Localization-StringTables.asset
-
9UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/QL1.asset
-
4UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/QL1.asset.meta
-
3UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest 1/Q1-QL1.asset
-
2UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest 1/Q1-QL1.asset.meta
-
3UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest 2/Q2-QL1.asset
-
2UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest 2/Q2-QL1.asset.meta
-
7UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest 2/Step2/CD-S2-Q2-QL1.asset
-
3UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest 3/Q3-QL1.asset
-
2UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest 3/Q3-QL1.asset.meta
-
5UOP1_Project/Assets/ScriptableObjects/Quests/Questline2/QL2.asset
-
2UOP1_Project/Assets/ScriptableObjects/Quests/Questline2/QL2.asset.meta
-
3UOP1_Project/Assets/ScriptableObjects/Quests/Questline2/Quest 1/Q1-QL2.asset
-
2UOP1_Project/Assets/ScriptableObjects/Quests/Questline2/Quest 1/Q1-QL2.asset.meta
-
6UOP1_Project/Assets/ScriptableObjects/StateMachine/Config/NPCRoamingAroundCenter.asset
-
32UOP1_Project/Assets/Scripts/Quests/Editor/DialogueLine.uxml
-
339UOP1_Project/Assets/Scripts/Quests/Editor/QuestEditorWindow.cs
-
26UOP1_Project/Assets/Scripts/Quests/Editor/StepDetail.uxml
-
20UOP1_Project/Assets/Scripts/Quests/ScriptableObjects/QuestSO.cs
-
2UOP1_Project/Assets/Scripts/Quests/ScriptableObjects/QuestSO.cs.meta
-
20UOP1_Project/Assets/Scripts/Quests/ScriptableObjects/QuestlineSO.cs
-
2UOP1_Project/Assets/Scripts/Quests/ScriptableObjects/QuestlineSO.cs.meta
-
13UOP1_Project/Packages/manifest.json
-
29UOP1_Project/Packages/packages-lock.json
-
17UOP1_Project/Assets/Q1-QL3.asset
-
8UOP1_Project/Assets/Q1-QL3.asset.meta
-
17UOP1_Project/Assets/Q2-QL3.asset
-
8UOP1_Project/Assets/Q2-QL3.asset.meta
-
17UOP1_Project/Assets/Q3-QL3.asset
-
8UOP1_Project/Assets/Q3-QL3.asset.meta
-
17UOP1_Project/Assets/QL3.asset
-
8UOP1_Project/Assets/QL3.asset.meta
-
8UOP1_Project/Assets/Resources.meta
-
21UOP1_Project/Assets/S1-Q1-QL3.asset
-
8UOP1_Project/Assets/S1-Q1-QL3.asset.meta
-
21UOP1_Project/Assets/S2-Q1-QL3.asset
-
8UOP1_Project/Assets/S2-Q1-QL3.asset.meta
-
21UOP1_Project/Assets/S3-Q1-QL3.asset
-
8UOP1_Project/Assets/S3-Q1-QL3.asset.meta
-
40UOP1_Project/Assets/Resources/QuestEditorWindow.uss
-
45UOP1_Project/Assets/Resources/QuestEditorWindow.uxml
-
14UOP1_Project/Assets/Scripts/Quests/Editor/QuestEditorWindow.uss
-
39UOP1_Project/Assets/Scripts/Quests/Editor/QuestEditorWindow.uxml
-
0/UOP1_Project/Assets/Resources/QuestEditorWindow.uss.meta
-
0/UOP1_Project/Assets/Resources/QuestEditorWindow.uxml.meta
|
|||
fileFormatVersion: 2 |
|||
guid: 2419d670f41b60f45939ba1637631315 |
|||
guid: 7b43c62a4fa974bbc82d5af43cc173ca |
|||
mainObjectFileID: 0 |
|||
mainObjectFileID: 11400000 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
<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="False"> |
|||
<ui:VisualElement name="line-box" style="flex-direction: column; padding-left: 2px; padding-right: 2px; padding-top: 2px; padding-bottom: 2px;"> |
|||
<ui:VisualElement name="lines" style="flex-direction: row; width: 100%;"> |
|||
<ui:VisualElement name="left-line" style="margin-left: 5px; margin-right: 5px; margin-top: 5px; margin-bottom: 5px; width: 50%; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;"> |
|||
<ui:Label text="This is line 1." display-tooltip-when-elided="true" name="left-line-label" style="background-color: rgb(158, 222, 115); white-space: normal;" /> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="right-line" style="width: 50%; margin-left: 5px; margin-right: 5px; margin-top: 5px; margin-bottom: 5px;"> |
|||
<ui:Label text="This is line 2." display-tooltip-when-elided="true" name="right-line-label" style="background-color: rgb(243, 145, 137); white-space: normal;" /> |
|||
</ui:VisualElement> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="buttons" style="flex-direction: row; justify-content: space-around;"> |
|||
<ui:Button text="Yes" name="btn-0" style="width: 45%; background-color: rgba(227, 253, 253, 255);" /> |
|||
<ui:Button text="No" name="btn-1" style="width: 45%; background-color: rgba(227, 253, 253, 255);" /> |
|||
</ui:VisualElement> |
|||
</ui:VisualElement> |
|||
</ui:UXML> |
|||
<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="False"> |
|||
<ui:VisualElement name="line-box" style="flex-direction: column; padding-left: 2px; padding-right: 2px; padding-top: 2px; padding-bottom: 2px;"> |
|||
<ui:VisualElement name="lines" style="flex-direction: row; width: 100%;"> |
|||
<ui:VisualElement name="left-line" style="margin-left: 5px; margin-right: 5px; margin-top: 5px; margin-bottom: 5px; width: 50%; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;"> |
|||
<ui:Label text="This is line 1." display-tooltip-when-elided="true" name="left-line-label" style="background-color: rgb(158, 222, 115); white-space: normal; color: rgba(73, 94, 0, 255);" /> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="right-line" style="width: 50%; margin-left: 5px; margin-right: 5px; margin-top: 5px; margin-bottom: 5px;"> |
|||
<ui:Label text="This is line 2." display-tooltip-when-elided="true" name="right-line-label" style="background-color: rgb(243, 145, 137); white-space: normal; color: rgb(106, 9, 0);" /> |
|||
</ui:VisualElement> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="buttons" style="flex-direction: row; justify-content: space-around;"> |
|||
<ui:Button text="Yes" name="btn-0" style="width: 45%; background-color: rgb(115, 115, 115);" /> |
|||
<ui:Button text="No" name="btn-1" style="width: 45%; background-color: rgb(115, 115, 115);" /> |
|||
</ui:VisualElement> |
|||
</ui:VisualElement> |
|||
</ui:UXML> |
|
|||
<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="False"> |
|||
<ui:VisualElement name="step-detail-box" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px; border-left-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-top-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); background-color: rgba(166, 227, 233, 255); border-top-left-radius: 5px; border-bottom-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; margin-left: 3px; margin-right: 3px; margin-top: 3px; margin-bottom: 3px;"> |
|||
<ui:VisualElement name="step-title-box" style="border-bottom-color: rgb(0, 0, 0); border-bottom-width: 1px; flex-direction: row; justify-content: space-between;"> |
|||
<ui:Label text="Step1" display-tooltip-when-elided="true" name="step-title-label" style="-unity-font-style: bold;" /> |
|||
<ui:Toggle name="step-done-toggle" text="IsDone" value="false" style="-unity-font-style: normal;" /> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="dialogue-area" /> |
|||
<ui:VisualElement name="item-validate" style="flex-direction: row; justify-content: space-around;"> |
|||
<ui:Label text="Check Item:" display-tooltip-when-elided="true" name="step-type" style="-unity-font-style: bold;" /> |
|||
<ui:Label text="Apple" display-tooltip-when-elided="true" name="item-to-validate" /> |
|||
</ui:VisualElement> |
|||
</ui:VisualElement> |
|||
</ui:UXML> |
|||
<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="False"> |
|||
<ui:VisualElement name="step-detail-box" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px; border-left-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-top-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); background-color: rgb(135, 135, 135); border-top-left-radius: 5px; border-bottom-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; margin-left: 3px; margin-right: 3px; margin-top: 3px; margin-bottom: 3px;"> |
|||
<ui:VisualElement name="step-title-box" style="border-bottom-color: rgb(0, 0, 0); border-bottom-width: 1px; flex-direction: row; justify-content: space-between;"> |
|||
<ui:Label text="Step1" display-tooltip-when-elided="true" name="step-title-label" style="-unity-font-style: bold;" /> |
|||
<ui:Toggle name="step-done-toggle" text="IsDone" value="false" style="-unity-font-style: normal;" /> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="dialogue-area" /> |
|||
<ui:VisualElement name="item-validate" style="flex-direction: row; justify-content: space-around;"> |
|||
<ui:Label text="Check Item:" display-tooltip-when-elided="true" name="step-type" style="-unity-font-style: bold;" /> |
|||
<ui:Label text="Apple" display-tooltip-when-elided="true" name="item-to-validate" /> |
|||
</ui:VisualElement> |
|||
</ui:VisualElement> |
|||
</ui:UXML> |
|
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
[CreateAssetMenu(fileName = "Questline", menuName = "Quests/Questline", order = 51)] |
|||
public class QuestlineSO : ScriptableObject |
|||
[CreateAssetMenu(fileName = "Quest", menuName = "Quests/Quest", order = 51)] |
|||
public class QuestSO : ScriptableObject |
|||
[Tooltip("The collection of Quests composing the Questline")] |
|||
private List<QuestSO> _quests = new List<QuestSO>(); |
|||
private int _idQuest = 0; |
|||
[Tooltip("The collection of Steps composing the Quest")] |
|||
[SerializeField] |
|||
private List<StepSO> _steps = new List<StepSO>(); |
|||
public List<QuestSO> Quests => _quests; |
|||
|
|||
public int IdQuest => _idQuest; |
|||
public List<StepSO> Steps => _steps; |
|||
public void FinishQuestline() |
|||
public void FinishQuest() |
|||
public void SetQuestId(int id) |
|||
{ |
|||
_idQuest = id; |
|||
} |
|||
} |
|
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
[CreateAssetMenu(fileName = "Quest", menuName = "Quests/Quest", order = 51)] |
|||
public class QuestSO : ScriptableObject |
|||
[CreateAssetMenu(fileName = "Questline", menuName = "Quests/Questline", order = 51)] |
|||
public class QuestlineSO : ScriptableObject |
|||
[Tooltip("The collection of Steps composing the Quest")] |
|||
private List<StepSO> _steps = new List<StepSO>(); |
|||
private int _idQuestLine = 0; |
|||
[Tooltip("The collection of Quests composing the Questline")] |
|||
[SerializeField] |
|||
private List<QuestSO> _quests = new List<QuestSO>(); |
|||
public List<StepSO> Steps => _steps; |
|||
public int IdQuestline => _idQuestLine; |
|||
public List<QuestSO> Quests => _quests; |
|||
public void FinishQuest() |
|||
public void FinishQuestline() |
|||
} |
|||
public void SetQuestlineId(int id) |
|||
{ |
|||
_idQuestLine = id; |
|||
|
|||
} |
|||
|
|||
|
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: b4f9c8aa1ce987b4799f7093a99181a9, type: 3} |
|||
m_Name: Q1-QL3 |
|||
m_EditorClassIdentifier: |
|||
_idQuest: 0 |
|||
_steps: [] |
|||
_isDone: 0 |
|
|||
fileFormatVersion: 2 |
|||
guid: a0e4ad897b76b4ebe9cb6963d84459dd |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 11400000 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: b4f9c8aa1ce987b4799f7093a99181a9, type: 3} |
|||
m_Name: Q2-QL3 |
|||
m_EditorClassIdentifier: |
|||
_idQuest: 0 |
|||
_steps: [] |
|||
_isDone: 0 |
|
|||
fileFormatVersion: 2 |
|||
guid: 45a11c9d040da4543a6402e268b7dd4c |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 11400000 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: b4f9c8aa1ce987b4799f7093a99181a9, type: 3} |
|||
m_Name: Q3-QL3 |
|||
m_EditorClassIdentifier: |
|||
_idQuest: 0 |
|||
_steps: [] |
|||
_isDone: 0 |
|
|||
fileFormatVersion: 2 |
|||
guid: f95c1016ace8641cf83a5ae625914196 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 11400000 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 05c700bba7d21604586cb89ec5afdee0, type: 3} |
|||
m_Name: QL3 |
|||
m_EditorClassIdentifier: |
|||
_idQuestLine: 3 |
|||
_quests: [] |
|||
_isDone: 0 |
|
|||
fileFormatVersion: 2 |
|||
guid: 00a73f17d64bd4603976feef832c0fe7 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 11400000 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 778234a6d2c8a4aca98a552d26ab3b33 |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 3c4c03cb18bdd224b898e0687da8d1ac, type: 3} |
|||
m_Name: S1-Q1-QL3 |
|||
m_EditorClassIdentifier: |
|||
_actor: {fileID: 0} |
|||
_dialogueBeforeStep: {fileID: 0} |
|||
_completeDialogue: {fileID: 0} |
|||
_incompleteDialogue: {fileID: 0} |
|||
_item: {fileID: 0} |
|||
_type: 0 |
|||
_isDone: 0 |
|
|||
fileFormatVersion: 2 |
|||
guid: 33112ea9b8b75414fa7cadfd01a64915 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 11400000 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 3c4c03cb18bdd224b898e0687da8d1ac, type: 3} |
|||
m_Name: S2-Q1-QL3 |
|||
m_EditorClassIdentifier: |
|||
_actor: {fileID: 0} |
|||
_dialogueBeforeStep: {fileID: 0} |
|||
_completeDialogue: {fileID: 0} |
|||
_incompleteDialogue: {fileID: 0} |
|||
_item: {fileID: 0} |
|||
_type: 0 |
|||
_isDone: 0 |
|
|||
fileFormatVersion: 2 |
|||
guid: fd509d15198cf401ab423ed58e8dfaa1 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 11400000 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 3c4c03cb18bdd224b898e0687da8d1ac, type: 3} |
|||
m_Name: S3-Q1-QL3 |
|||
m_EditorClassIdentifier: |
|||
_actor: {fileID: 0} |
|||
_dialogueBeforeStep: {fileID: 0} |
|||
_completeDialogue: {fileID: 0} |
|||
_incompleteDialogue: {fileID: 0} |
|||
_item: {fileID: 0} |
|||
_type: 0 |
|||
_isDone: 0 |
|
|||
fileFormatVersion: 2 |
|||
guid: c315d049e099a42e4b41c570b54ebcea |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 11400000 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
.title { |
|||
-unity-font-style: bold; |
|||
font-size: 15px; |
|||
-unity-text-align: upper-center; |
|||
margin-top: 5px; |
|||
margin-bottom: 5px; |
|||
} |
|||
|
|||
.padding5 { |
|||
padding-left: 5px; |
|||
padding-right: 5px; |
|||
padding-top: 5px; |
|||
padding-bottom: 5px; |
|||
} |
|||
|
|||
.ColorStyling1 { |
|||
background-color: rgb(101, 100, 100); |
|||
} |
|||
|
|||
.ColorStyling2 { |
|||
background-color: rgb(41, 41, 41); |
|||
} |
|||
|
|||
.ColorStyling1 Label { |
|||
color: rgb(204, 204, 204); |
|||
} |
|||
|
|||
.ColorStyling2 Label { |
|||
color: rgb(173, 173, 173); |
|||
} |
|||
|
|||
Button { |
|||
background-color: rgb(113, 113, 113); |
|||
color: rgb(212, 212, 212); |
|||
} |
|||
|
|||
.AddButton { |
|||
width: 20px; |
|||
height: 20px; |
|||
} |
|
|||
<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="False"> |
|||
<Style src="QuestEditorWindow.uss" /> |
|||
<ui:VisualElement name="quest-editor-window" style="flex-direction: row; height: 100%; width: 100%; min-height: 700px;"> |
|||
<ui:VisualElement name="1st-column" style="width: 30%;"> |
|||
<ui:VisualElement name="questlines" class="padding5 ColorStyling1" style="width: auto; height: 150px;"> |
|||
<ui:Label text="Questlines" display-tooltip-when-elided="true" name="title-questline" class="title" style="flex-direction: row-reverse;"> |
|||
<ui:Button text="+" display-tooltip-when-elided="true" name="CreateQL" class="AddButton" /> |
|||
</ui:Label> |
|||
<ui:VisualElement name="questlines-list" style="height: 100%;" /> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="steps" class="padding5 ColorStyling2" style="width: auto; height: 150px;"> |
|||
<ui:Label text="Steps" display-tooltip-when-elided="true" name="title-step" class="title" style="flex-direction: row-reverse;"> |
|||
<ui:Button text="+" display-tooltip-when-elided="true" name="CreateS" class="AddButton" /> |
|||
</ui:Label> |
|||
<ui:VisualElement name="steps-list" style="height: 100%;" /> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="step-info-panel" class="padding5 ColorStyling1" style="width: auto; height: 100%;"> |
|||
<ui:Label text="Step Info" display-tooltip-when-elided="true" name="step-info" class="title" /> |
|||
<ui:VisualElement name="step-info-scroll" style="height: 100%;" /> |
|||
</ui:VisualElement> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="2nd-column" style="width: 30%;"> |
|||
<ui:VisualElement name="quests" class="padding5 ColorStyling2" style="width: auto; height: 150px;"> |
|||
<ui:Label text="Quests" display-tooltip-when-elided="true" name="title-quest" class="title" style="flex-direction: row-reverse;"> |
|||
<ui:Button text="+" display-tooltip-when-elided="true" name="CreateQ" class="AddButton" /> |
|||
</ui:Label> |
|||
<ui:VisualElement name="quests-list" style="height: 100%;" /> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="dialogues" class="padding5 ColorStyling1" style="width: auto; height: 150px;"> |
|||
<ui:Label text="Dialogues" display-tooltip-when-elided="true" name="title-dislogues" class="title" /> |
|||
<ui:VisualElement name="dialogues-list" style="height: 100%;" /> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="dialogue-info-panel" class="padding5 ColorStyling2" style="width: auto; height: 100%;"> |
|||
<ui:Label text="Dialogue Info" display-tooltip-when-elided="true" name="dialogue-info" class="title" /> |
|||
<ui:VisualElement name="dialogue-info-scroll" style="height: 100%;" /> |
|||
</ui:VisualElement> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="3rd-column" style="width: 40%; background-color: rgb(185, 185, 185);"> |
|||
<ui:Label text="Quest Preview" display-tooltip-when-elided="true" name="quest-preview-title" class="title" style="color: rgb(65, 65, 65); height: 18.5px;" /> |
|||
<ui:Button text="Refresh" display-tooltip-when-elided="true" name="refresh-preview-btn" style="width: 100px; margin-left: auto; margin-right: 1px; background-color: rgb(113, 113, 113);" /> |
|||
<ui:VisualElement name="actor-preview" style="width: 100px; height: 100px; margin-left: auto; margin-right: auto;" /> |
|||
<ui:VisualElement name="actor-conversations" style="padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px;" /> |
|||
</ui:VisualElement> |
|||
</ui:VisualElement> |
|||
</ui:UXML> |
|
|||
.title { |
|||
-unity-font-style: bold; |
|||
font-size: 15px; |
|||
-unity-text-align: upper-center; |
|||
margin-top: 5px; |
|||
margin-bottom: 5px; |
|||
} |
|||
|
|||
.padding5 { |
|||
padding-left: 5px; |
|||
padding-right: 5px; |
|||
padding-top: 5px; |
|||
padding-bottom: 5px; |
|||
} |
|
|||
<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="False"> |
|||
<Style src="QuestEditorWindow.uss" /> |
|||
<ui:VisualElement name="quest-editor-window" style="flex-direction: row; height: 100%; width: 100%; min-height: 700px;"> |
|||
<ui:VisualElement name="1st-column" style="width: 30%;"> |
|||
<ui:VisualElement name="questlines" class="padding5" style="width: auto; background-color: rgb(227, 253, 253); height: 150px;"> |
|||
<ui:Label text="Questlines" display-tooltip-when-elided="true" name="title-questline" class="title" /> |
|||
<ui:VisualElement name="questlines-list" style="height: 100%;" /> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="steps" class="padding5" style="width: auto; background-color: rgb(203, 241, 245); height: 150px;"> |
|||
<ui:Label text="Steps" display-tooltip-when-elided="true" name="title-step" class="title" /> |
|||
<ui:VisualElement name="steps-list" style="height: 100%;" /> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="step-info-panel" class="padding5" style="width: auto; background-color: rgb(227, 253, 253); height: 100%;"> |
|||
<ui:Label text="Step Info" display-tooltip-when-elided="true" name="step-info" class="title" /> |
|||
<ui:VisualElement name="step-info-scroll" style="height: 100%;" /> |
|||
</ui:VisualElement> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="2nd-column" style="width: 30%;"> |
|||
<ui:VisualElement name="quests" class="padding5" style="width: auto; background-color: rgb(203, 241, 245); height: 150px;"> |
|||
<ui:Label text="Quests" display-tooltip-when-elided="true" name="title-quest" class="title" /> |
|||
<ui:VisualElement name="quests-list" style="height: 100%;" /> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="dialogues" class="padding5" style="width: auto; background-color: rgb(227, 253, 253); height: 150px;"> |
|||
<ui:Label text="Dialogues" display-tooltip-when-elided="true" name="title-dislogues" class="title" /> |
|||
<ui:VisualElement name="dialogues-list" style="height: 100%;" /> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="dialogue-info-panel" class="padding5" style="width: auto; background-color: rgb(203, 241, 245); height: 100%;"> |
|||
<ui:Label text="Dialogue Info" display-tooltip-when-elided="true" name="dialogue-info" class="title" /> |
|||
<ui:VisualElement name="dialogue-info-scroll" style="height: 100%;" /> |
|||
</ui:VisualElement> |
|||
</ui:VisualElement> |
|||
<ui:VisualElement name="3rd-column" style="width: 40%; background-color: rgb(113, 201, 206);"> |
|||
<ui:Label text="Quest Preview" display-tooltip-when-elided="true" name="quest-preview-title" class="title" /> |
|||
<ui:Button text="Refresh" display-tooltip-when-elided="true" name="refresh-preview-btn" style="width: 100px; margin-left: auto; margin-right: 1px; background-color: rgba(203, 241, 245, 255);" /> |
|||
<ui:VisualElement name="actor-preview" style="width: 100px; height: 100px; margin-left: auto; margin-right: auto;" /> |
|||
<ui:VisualElement name="actor-conversations" style="padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px;" /> |
|||
</ui:VisualElement> |
|||
</ui:VisualElement> |
|||
</ui:UXML> |
撰写
预览
正在加载...
取消
保存
Reference in new issue