대화 시스템 테스트

This commit is contained in:
NTG_Lenovo 2025-01-15 17:39:57 +09:00
parent e8ef2ce723
commit f7d2309146
7 changed files with 443 additions and 125 deletions

View File

@ -3285,6 +3285,7 @@ GameObject:
- component: {fileID: 148551824} - component: {fileID: 148551824}
- component: {fileID: 148629854} - component: {fileID: 148629854}
- component: {fileID: 148550368} - component: {fileID: 148550368}
- component: {fileID: 148629855}
m_Layer: 0 m_Layer: 0
m_Name: Dialogue Manager m_Name: Dialogue Manager
m_TagString: Untagged m_TagString: Untagged
@ -3639,9 +3640,9 @@ MonoBehaviour:
showPCSubtitlesDuringLine: 0 showPCSubtitlesDuringLine: 0
allowPCSubtitleReminders: 0 allowPCSubtitleReminders: 0
skipPCSubtitleAfterResponseMenu: 1 skipPCSubtitleAfterResponseMenu: 1
subtitleCharsPerSecond: 30 subtitleCharsPerSecond: 20
minSubtitleSeconds: 2 minSubtitleSeconds: 2
continueButton: 2 continueButton: 1
requireContinueOnLastLine: 0 requireContinueOnLastLine: 0
richTextEmphases: 1 richTextEmphases: 1
informSequenceStartAndEnd: 0 informSequenceStartAndEnd: 0
@ -3664,9 +3665,7 @@ MonoBehaviour:
responseTimeoutAction: 0 responseTimeoutAction: 0
emTagForOldResponses: 0 emTagForOldResponses: 0
emTagForInvalidResponses: 0 emTagForInvalidResponses: 0
qteButtons: qteButtons: []
- Fire1
- Fire2
cancel: cancel:
key: 0 key: 0
buttonName: buttonName:
@ -3722,12 +3721,24 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3b24a5606b164c84db0d3ed3ee8256e1, type: 3} m_Script: {fileID: 11500000, guid: 3b24a5606b164c84db0d3ed3ee8256e1, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_parent: {fileID: 1049919592} m_parent: {fileID: 1861226431}
m_prefabs: m_prefabs:
- {fileID: 168688, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - {fileID: 168688, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3}
- {fileID: 121952, guid: 720348da784b8fa49a7c48365da6f1b1, type: 3} - {fileID: 121952, guid: 720348da784b8fa49a7c48365da6f1b1, type: 3}
- {fileID: 162630, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - {fileID: 162630, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3}
m_position: 0 m_position: 0
--- !u!114 &148629855
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 141888020}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5dd6025e599c3a3409abb6c91a48f1b4, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &156302002 --- !u!1 &156302002
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

File diff suppressed because one or more lines are too long

View File

@ -15,7 +15,7 @@ MonoBehaviour:
m_DefaultGroup: 8e0a3b4ef79b6b240a41c854861466bc m_DefaultGroup: 8e0a3b4ef79b6b240a41c854861466bc
m_currentHash: m_currentHash:
serializedVersion: 2 serializedVersion: 2
Hash: 00000000000000000000000000000000 Hash: 752e2ffa415f639560376d023f23f4fe
m_OptimizeCatalogSize: 0 m_OptimizeCatalogSize: 0
m_BuildRemoteCatalog: 0 m_BuildRemoteCatalog: 0
m_CatalogRequestsTimeout: 0 m_CatalogRequestsTimeout: 0

View File

@ -2052,6 +2052,18 @@ MonoBehaviour:
destinationDialogueID: 1 destinationDialogueID: 1
isConnector: 0 isConnector: 0
priority: 2 priority: 2
- originConversationID: 8
originDialogueID: 0
destinationConversationID: 8
destinationDialogueID: 6
isConnector: 0
priority: 2
- originConversationID: 8
originDialogueID: 0
destinationConversationID: 8
destinationDialogueID: 7
isConnector: 0
priority: 2
conditionsString: conditionsString:
userScript: userScript:
onExecute: onExecute:
@ -2159,62 +2171,6 @@ MonoBehaviour:
- originConversationID: 8 - originConversationID: 8
originDialogueID: 2 originDialogueID: 2
destinationConversationID: 8 destinationConversationID: 8
destinationDialogueID: 3
isConnector: 0
priority: 2
conditionsString:
userScript:
onExecute:
m_PersistentCalls:
m_Calls: []
canvasRect:
serializedVersion: 2
x: 148.79999
y: 178.8
width: 160
height: 30
- id: 3
fields:
- title: Title
value:
type: 0
typeString:
- title: Description
value:
type: 0
typeString:
- title: Actor
value: 1
type: 5
typeString: CustomFieldType_Actor
- title: Conversant
value: 3
type: 5
typeString: CustomFieldType_Actor
- title: Menu Text
value:
type: 0
typeString:
- title: Dialogue Text
value: "\uC8FC\uC778\uACF5\uC774 Npc\uC5D0\uAC8C \uB9D0\uC744 \uAC70\uB294
\uC911\uC785\uB2C8\uB2E4."
type: 0
typeString:
- title: Sequence
value:
type: 0
typeString:
conversationID: 8
isRoot: 0
isGroup: 0
nodeColor:
delaySimStatus: 0
falseConditionAction: Block
conditionPriority: 2
outgoingLinks:
- originConversationID: 8
originDialogueID: 3
destinationConversationID: 8
destinationDialogueID: 4 destinationDialogueID: 4
isConnector: 0 isConnector: 0
priority: 2 priority: 2
@ -2226,7 +2182,7 @@ MonoBehaviour:
canvasRect: canvasRect:
serializedVersion: 2 serializedVersion: 2
x: 148.79999 x: 148.79999
y: 228.8 y: 178.8
width: 160 width: 160
height: 30 height: 30
- id: 4 - id: 4
@ -2266,6 +2222,61 @@ MonoBehaviour:
delaySimStatus: 0 delaySimStatus: 0
falseConditionAction: Block falseConditionAction: Block
conditionPriority: 2 conditionPriority: 2
outgoingLinks:
- originConversationID: 8
originDialogueID: 4
destinationConversationID: 8
destinationDialogueID: 5
isConnector: 0
priority: 2
conditionsString:
userScript:
onExecute:
m_PersistentCalls:
m_Calls: []
canvasRect:
serializedVersion: 2
x: 146.39998
y: 237.20001
width: 160
height: 30
- id: 5
fields:
- title: Title
value:
type: 0
typeString:
- title: Description
value:
type: 0
typeString:
- title: Actor
value: 3
type: 5
typeString: CustomFieldType_Actor
- title: Conversant
value: 1
type: 5
typeString: CustomFieldType_Actor
- title: Menu Text
value:
type: 0
typeString:
- title: Dialogue Text
value: "\uD14D\uC2A4\uD2B8 \uAE38\uC774 \uD14C\uC2A4\uD2B8\\n\u3134\u3141\u3147\uB77C\u3150\u3148\u3137\uCC28\u3150\u3134\u3147\u3134\u3141\uC78E\u3148\u3137\uCE20"
type: 0
typeString:
- title: Sequence
value:
type: 0
typeString:
conversationID: 8
isRoot: 0
isGroup: 0
nodeColor:
delaySimStatus: 0
falseConditionAction: Block
conditionPriority: 2
outgoingLinks: [] outgoingLinks: []
conditionsString: conditionsString:
userScript: userScript:
@ -2274,8 +2285,106 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
canvasRect: canvasRect:
serializedVersion: 2 serializedVersion: 2
x: 148.79999 x: 146.39998
y: 278.8 y: 287.2
width: 160
height: 30
- id: 6
fields:
- title: Title
value:
type: 0
typeString:
- title: Description
value:
type: 0
typeString:
- title: Actor
value: 1
type: 5
typeString: CustomFieldType_Actor
- title: Conversant
value: 3
type: 5
typeString: CustomFieldType_Actor
- title: Menu Text
value:
type: 0
typeString:
- title: Dialogue Text
value: "2\uBC88\uC9F8 \uC120\uD0DD\uC9C0"
type: 0
typeString:
- title: Sequence
value:
type: 0
typeString:
conversationID: 8
isRoot: 0
isGroup: 0
nodeColor:
delaySimStatus: 0
falseConditionAction: Block
conditionPriority: 2
outgoingLinks: []
conditionsString:
userScript:
onExecute:
m_PersistentCalls:
m_Calls: []
canvasRect:
serializedVersion: 2
x: 419.2
y: 121.6
width: 160
height: 30
- id: 7
fields:
- title: Title
value:
type: 0
typeString:
- title: Description
value:
type: 0
typeString:
- title: Actor
value: 1
type: 5
typeString: CustomFieldType_Actor
- title: Conversant
value: 3
type: 5
typeString: CustomFieldType_Actor
- title: Menu Text
value:
type: 0
typeString:
- title: Dialogue Text
value: "3\uBC88\uC9F8 \uC120\uD0DD\uC9C0"
type: 0
typeString:
- title: Sequence
value:
type: 0
typeString:
conversationID: 8
isRoot: 0
isGroup: 0
nodeColor:
delaySimStatus: 0
falseConditionAction: Block
conditionPriority: 2
outgoingLinks: []
conditionsString:
userScript:
onExecute:
m_PersistentCalls:
m_Calls: []
canvasRect:
serializedVersion: 2
x: 677.6
y: 123.2
width: 160 width: 160
height: 30 height: 30
entryGroups: [] entryGroups: []

View File

@ -31,7 +31,7 @@ public partial class @DemoInputControls: IInputActionCollection2, IDisposable
""name"": ""Horizontal"", ""name"": ""Horizontal"",
""type"": ""Button"", ""type"": ""Button"",
""id"": ""ef3929c6-b315-4851-8f3e-ae170992d312"", ""id"": ""ef3929c6-b315-4851-8f3e-ae170992d312"",
""expectedControlType"": ""Button"", ""expectedControlType"": """",
""processors"": """", ""processors"": """",
""interactions"": """", ""interactions"": """",
""initialStateCheck"": false ""initialStateCheck"": false
@ -40,7 +40,7 @@ public partial class @DemoInputControls: IInputActionCollection2, IDisposable
""name"": ""Vertical"", ""name"": ""Vertical"",
""type"": ""Button"", ""type"": ""Button"",
""id"": ""74bfe387-c2ec-4a2e-9b81-cd1c81ee069b"", ""id"": ""74bfe387-c2ec-4a2e-9b81-cd1c81ee069b"",
""expectedControlType"": ""Button"", ""expectedControlType"": """",
""processors"": """", ""processors"": """",
""interactions"": """", ""interactions"": """",
""initialStateCheck"": false ""initialStateCheck"": false
@ -49,7 +49,7 @@ public partial class @DemoInputControls: IInputActionCollection2, IDisposable
""name"": ""Fire1"", ""name"": ""Fire1"",
""type"": ""Button"", ""type"": ""Button"",
""id"": ""804b48fe-6035-4b70-a3b4-877f04982d7d"", ""id"": ""804b48fe-6035-4b70-a3b4-877f04982d7d"",
""expectedControlType"": ""Button"", ""expectedControlType"": """",
""processors"": """", ""processors"": """",
""interactions"": """", ""interactions"": """",
""initialStateCheck"": false ""initialStateCheck"": false
@ -191,7 +191,7 @@ public partial class @DemoInputControls: IInputActionCollection2, IDisposable
{ {
""name"": """", ""name"": """",
""id"": ""6de4a513-0301-4138-972a-db7bccc7e316"", ""id"": ""6de4a513-0301-4138-972a-db7bccc7e316"",
""path"": ""<Keyboard>/space"", ""path"": ""<Keyboard>/e"",
""interactions"": """", ""interactions"": """",
""processors"": """", ""processors"": """",
""groups"": """", ""groups"": """",

View File

@ -9,25 +9,28 @@
"name": "Horizontal", "name": "Horizontal",
"type": "Button", "type": "Button",
"id": "ef3929c6-b315-4851-8f3e-ae170992d312", "id": "ef3929c6-b315-4851-8f3e-ae170992d312",
"expectedControlType": "Button", "expectedControlType": "",
"processors": "", "processors": "",
"interactions": "" "interactions": "",
"initialStateCheck": false
}, },
{ {
"name": "Vertical", "name": "Vertical",
"type": "Button", "type": "Button",
"id": "74bfe387-c2ec-4a2e-9b81-cd1c81ee069b", "id": "74bfe387-c2ec-4a2e-9b81-cd1c81ee069b",
"expectedControlType": "Button", "expectedControlType": "",
"processors": "", "processors": "",
"interactions": "" "interactions": "",
"initialStateCheck": false
}, },
{ {
"name": "Fire1", "name": "Fire1",
"type": "Button", "type": "Button",
"id": "804b48fe-6035-4b70-a3b4-877f04982d7d", "id": "804b48fe-6035-4b70-a3b4-877f04982d7d",
"expectedControlType": "Button", "expectedControlType": "",
"processors": "", "processors": "",
"interactions": "" "interactions": "",
"initialStateCheck": false
} }
], ],
"bindings": [ "bindings": [
@ -166,7 +169,7 @@
{ {
"name": "", "name": "",
"id": "6de4a513-0301-4138-972a-db7bccc7e316", "id": "6de4a513-0301-4138-972a-db7bccc7e316",
"path": "<Keyboard>/space", "path": "<Keyboard>/e",
"interactions": "", "interactions": "",
"processors": "", "processors": "",
"groups": "", "groups": "",

View File

@ -14,6 +14,7 @@ GameObject:
- component: {fileID: 11453152} - component: {fileID: 11453152}
- component: {fileID: 11426006} - component: {fileID: 11426006}
- component: {fileID: 11409218} - component: {fileID: 11409218}
- component: {fileID: 1215040022842122888}
m_Layer: 5 m_Layer: 5
m_Name: Response Button Template m_Name: Response Button Template
m_TagString: Untagged m_TagString: Untagged
@ -167,6 +168,25 @@ MonoBehaviour:
m_textMeshProUGUI: {fileID: 2840837452920515415} m_textMeshProUGUI: {fileID: 2840837452920515415}
setLabelColor: 1 setLabelColor: 1
defaultColor: {r: 1, g: 1, b: 1, a: 1} defaultColor: {r: 1, g: 1, b: 1, a: 1}
--- !u!114 &1215040022842122888
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100196}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31f62120d7385ae41b003e28625fba63, type: 3}
m_Name:
m_EditorClassIdentifier:
key: 0
buttonName: Fire1
inputAction: {fileID: 6954801613704131117, guid: 3a16ce485a9e26f428c8d6d74f31eef9, type: 3}
anyKeyOrButton: 0
skipIfBeingClickedBySubmit: 1
simulateButtonClick: 1
simulateButtonDownDuration: 0.1
--- !u!1 &103822 --- !u!1 &103822
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -646,7 +666,7 @@ MonoBehaviour:
addSpeakerNameFormat: '{0}: {1}' addSpeakerNameFormat: '{0}: {1}'
accumulateText: 0 accumulateText: 0
maxLines: 100 maxLines: 100
delayTypewriterUntilOpen: 0 delayTypewriterUntilOpen: 1
continueButton: {fileID: 11435088} continueButton: {fileID: 11435088}
blockInputDuration: 0 blockInputDuration: 0
visibility: 2 visibility: 2
@ -1115,7 +1135,7 @@ MonoBehaviour:
addSpeakerNameFormat: '{0}: {1}' addSpeakerNameFormat: '{0}: {1}'
accumulateText: 0 accumulateText: 0
maxLines: 100 maxLines: 100
delayTypewriterUntilOpen: 0 delayTypewriterUntilOpen: 1
continueButton: {fileID: 11435088} continueButton: {fileID: 11435088}
blockInputDuration: 0 blockInputDuration: 0
visibility: 3 visibility: 3
@ -2858,6 +2878,7 @@ GameObject:
- component: {fileID: 11435088} - component: {fileID: 11435088}
- component: {fileID: 11414680} - component: {fileID: 11414680}
- component: {fileID: 11465788} - component: {fileID: 11465788}
- component: {fileID: 3163269390573956657}
m_Layer: 5 m_Layer: 5
m_Name: Continue Button m_Name: Continue Button
m_TagString: Untagged m_TagString: Untagged
@ -3013,7 +3034,26 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
dialogueUI: {fileID: 11423316} dialogueUI: {fileID: 11423316}
textAnimatorPlayer: {fileID: 878924836575046963} textAnimatorPlayer: {fileID: 878924836575046963}
hideContinueButtonOnContinue: 0 hideContinueButtonOnContinue: 1
--- !u!114 &3163269390573956657
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 176486}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31f62120d7385ae41b003e28625fba63, type: 3}
m_Name:
m_EditorClassIdentifier:
key: 0
buttonName: Fire1
inputAction: {fileID: 6954801613704131117, guid: 3a16ce485a9e26f428c8d6d74f31eef9, type: 3}
anyKeyOrButton: 0
skipIfBeingClickedBySubmit: 1
simulateButtonClick: 1
simulateButtonDownDuration: 0.1
--- !u!1 &177286 --- !u!1 &177286
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -3333,7 +3373,7 @@ MonoBehaviour:
addSpeakerNameFormat: '{0}: {1}' addSpeakerNameFormat: '{0}: {1}'
accumulateText: 0 accumulateText: 0
maxLines: 100 maxLines: 100
delayTypewriterUntilOpen: 0 delayTypewriterUntilOpen: 1
continueButton: {fileID: 11435088} continueButton: {fileID: 11435088}
blockInputDuration: 0 blockInputDuration: 0
visibility: 3 visibility: 3
@ -3801,7 +3841,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
typewriterStartsAutomatically: 1 typewriterStartsAutomatically: 1
animationLoop: 0 animationLoop: 0
timeScale: 0 timeScale: 1
_text: (Subtitle Text) _text: (Subtitle Text)
useDynamicScaling: 1 useDynamicScaling: 1
referenceFontSize: 10 referenceFontSize: 10
@ -3841,10 +3881,34 @@ MonoBehaviour:
triggerDisappearedAfterEffectsEnd: 0 triggerDisappearedAfterEffectsEnd: 0
onTextShowed: onTextShowed:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls:
- m_Target: {fileID: 176486}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
onTypewriterStart: onTypewriterStart:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls:
- m_Target: {fileID: 176486}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
onTextDisappeared: onTextDisappeared:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []