feat(Dialogue): 实现基本的对话系统

This commit is contained in:
2025-10-23 15:46:17 +08:00
parent 4ef8430c6b
commit f6f523e609
29 changed files with 1398 additions and 86 deletions

View File

@@ -602,6 +602,7 @@ RectTransform:
- {fileID: 1082771939}
- {fileID: 165485610}
- {fileID: 120768280}
- {fileID: 1822383180}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
@@ -1015,10 +1016,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 1852693707}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0.0015259, y: 49.67}
m_SizeDelta: {x: 489.28, y: 63.34}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 0.0015258789, y: 49.67}
m_SizeDelta: {x: -2.7200012, y: 63.34}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1439567735
MonoBehaviour:
@@ -1237,6 +1238,12 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
layer: 1
--- !u!224 &1822383180 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
m_PrefabInstance: {fileID: 5086905788647474485}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1852693706
GameObject:
m_ObjectHideFlags: 0
@@ -1272,8 +1279,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: -260.4452, y: 104.34}
m_SizeDelta: {x: 489.2865, y: 162.68}
m_AnchoredPosition: {x: -166, y: 101}
m_SizeDelta: {x: 296.6285, y: 162.68}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1852693708
MonoBehaviour:
@@ -1322,10 +1329,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 1852693707}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0.00067139, y: -40.67}
m_SizeDelta: {x: 489.28, y: 81.34}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 0.0006713867, y: -40.67}
m_SizeDelta: {x: -2.7200012, y: 81.34}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1852915598
MonoBehaviour:
@@ -1543,6 +1550,124 @@ PrefabInstance:
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: faba7bc710ad07f4491499290cd8b296, type: 3}
--- !u!1001 &5086905788647474485
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 1067459529}
m_Modifications:
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_SizeDelta.x
value: 985.4095
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_SizeDelta.y
value: 257.8189
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_AnchoredPosition.x
value: -8.703308
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 185.26105
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 137519622818440187, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4411825979609720476, guid: 62d39262178af1941b7488794adfa8e7,
type: 3}
propertyPath: m_Name
value: PlayerDialogueViwer
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 62d39262178af1941b7488794adfa8e7, type: 3}
--- !u!1001 &6300650283385539470
PrefabInstance:
m_ObjectHideFlags: 0