freeze levels

This commit is contained in:
cyndrdev 2021-05-18 16:27:41 +01:00
parent da59eb7621
commit 6b94446ffa
2 changed files with 257 additions and 68 deletions

View File

@ -3114,6 +3114,82 @@ MeshRenderer:
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &2336527889030719266
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1665735610587331498}
- component: {fileID: 1656800391350671335}
- component: {fileID: 8230143105238279746}
- component: {fileID: 5254830374495393210}
m_Layer: 0
m_Name: DialogueTrigger (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1665735610587331498
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2336527889030719266}
m_LocalRotation: {x: 0, y: -0.36999002, z: 0, w: 0.9290357}
m_LocalPosition: {x: -142.83, y: 0, z: -14.85}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 3795141200862690401}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: -43.43, z: 0}
--- !u!33 &1656800391350671335
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2336527889030719266}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!65 &8230143105238279746
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2336527889030719266}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1.26, y: 8.72, z: 4.37}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &5254830374495393210
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2336527889030719266}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: bf23d7e814442a54888e34f51cbf3cc3, type: 3}
m_Name:
m_EditorClassIdentifier:
_dialogue: {fileID: 11400000, guid: 56369c4e83cc59e44bf55cd16fafc4e8, type: 2}
_speaker: 0
_speakerTransform: {fileID: 0}
_key:
_keys:
- SD_FREEZE_1
_onDialogueFinish:
m_PersistentCalls:
m_Calls: []
_log: 0
--- !u!1 &2578394403662027077
GameObject:
m_ObjectHideFlags: 0
@ -3391,6 +3467,82 @@ BoxCollider:
serializedVersion: 2
m_Size: {x: 3.571419, y: 0.10071182, z: 3.5748425}
m_Center: {x: -1.7775594, y: -0.000000018626451, z: -1.7865691}
--- !u!1 &3004968689155588933
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6388869799761160560}
- component: {fileID: 369522969563423908}
- component: {fileID: 2284510856396138515}
- component: {fileID: 8064036414889916754}
m_Layer: 0
m_Name: DialogueTrigger
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6388869799761160560
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3004968689155588933}
m_LocalRotation: {x: 0, y: 0.39794865, z: 0, w: 0.9174077}
m_LocalPosition: {x: -81.09, y: 0, z: -81.8}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 3795141200862690401}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 46.9, z: 0}
--- !u!33 &369522969563423908
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3004968689155588933}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!65 &2284510856396138515
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3004968689155588933}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 10.45, z: 3.73}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &8064036414889916754
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3004968689155588933}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: bf23d7e814442a54888e34f51cbf3cc3, type: 3}
m_Name:
m_EditorClassIdentifier:
_dialogue: {fileID: 11400000, guid: 56369c4e83cc59e44bf55cd16fafc4e8, type: 2}
_speaker: 0
_speakerTransform: {fileID: 0}
_key:
_keys:
- SD_FREEZE_0_0
_onDialogueFinish:
m_PersistentCalls:
m_Calls: []
_log: 0
--- !u!1 &3151922487021548955
GameObject:
m_ObjectHideFlags: 0
@ -10462,6 +10614,7 @@ Transform:
- {fileID: 7470051706655698472}
- {fileID: 608520176633964310}
- {fileID: 8810031053730460850}
- {fileID: 3795141200862690401}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -18021,6 +18174,38 @@ BoxCollider:
serializedVersion: 2
m_Size: {x: 0.0099956095, y: 0.04649781, z: 0.010708005}
m_Center: {x: 0.0020173425, y: 0.023248905, z: -0.0053540035}
--- !u!1 &7568675345622335290
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3795141200862690401}
m_Layer: 0
m_Name: DialogueTriggers
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3795141200862690401
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7568675345622335290}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 6388869799761160560}
- {fileID: 1665735610587331498}
m_Father: {fileID: 5633276110851423475}
m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &7571323008857002667
GameObject:
m_ObjectHideFlags: 0
@ -19872,16 +20057,16 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b69832890ed8a6d4d94f96406e56bdba, type: 3}
--- !u!65 &6971255810853663227 stripped
BoxCollider:
m_CorrespondingSourceObject: {fileID: 7832287278292193660, guid: b69832890ed8a6d4d94f96406e56bdba, type: 3}
m_PrefabInstance: {fileID: 868983560867258503}
m_PrefabAsset: {fileID: 0}
--- !u!4 &990960014642394775 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 130506617589700112, guid: b69832890ed8a6d4d94f96406e56bdba, type: 3}
m_PrefabInstance: {fileID: 868983560867258503}
m_PrefabAsset: {fileID: 0}
--- !u!65 &6971255810853663227 stripped
BoxCollider:
m_CorrespondingSourceObject: {fileID: 7832287278292193660, guid: b69832890ed8a6d4d94f96406e56bdba, type: 3}
m_PrefabInstance: {fileID: 868983560867258503}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1126620020104800830
PrefabInstance:
m_ObjectHideFlags: 0
@ -22738,16 +22923,16 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e20114b5c13a067488940c5cc8e13b60, type: 3}
--- !u!1 &4919308012515494125 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: e20114b5c13a067488940c5cc8e13b60, type: 3}
m_PrefabInstance: {fileID: 5225738261648192956}
m_PrefabAsset: {fileID: 0}
--- !u!4 &5696829496553394775 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: e20114b5c13a067488940c5cc8e13b60, type: 3}
m_PrefabInstance: {fileID: 5225738261648192956}
m_PrefabAsset: {fileID: 0}
--- !u!1 &4919308012515494125 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: e20114b5c13a067488940c5cc8e13b60, type: 3}
m_PrefabInstance: {fileID: 5225738261648192956}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &5285726659940137795
PrefabInstance:
m_ObjectHideFlags: 0
@ -23328,16 +23513,16 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
--- !u!4 &1579399496768063175 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6613058589800293244, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
m_PrefabInstance: {fileID: 5633276109973808571}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1579399496634826824 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6613058589667321331, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
m_PrefabInstance: {fileID: 5633276109973808571}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1579399496768063175 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6613058589800293244, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
m_PrefabInstance: {fileID: 5633276109973808571}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &5633276110065548613
PrefabInstance:
m_ObjectHideFlags: 0
@ -23869,16 +24054,6 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 19df708cf54c899429b4c7aa455bd224, type: 3}
--- !u!95 &9205840226088905975 stripped
Animator:
m_CorrespondingSourceObject: {fileID: 3597492299342153107, guid: 19df708cf54c899429b4c7aa455bd224, type: 3}
m_PrefabInstance: {fileID: 5633276110490429796}
m_PrefabAsset: {fileID: 0}
--- !u!4 &4134065193624804214 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8607026111008338450, guid: 19df708cf54c899429b4c7aa455bd224, type: 3}
m_PrefabInstance: {fileID: 5633276110490429796}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1323289505521986454 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 6660874486022800114, guid: 19df708cf54c899429b4c7aa455bd224, type: 3}
@ -23889,6 +24064,16 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 804856393005081855, guid: 19df708cf54c899429b4c7aa455bd224, type: 3}
m_PrefabInstance: {fileID: 5633276110490429796}
m_PrefabAsset: {fileID: 0}
--- !u!95 &9205840226088905975 stripped
Animator:
m_CorrespondingSourceObject: {fileID: 3597492299342153107, guid: 19df708cf54c899429b4c7aa455bd224, type: 3}
m_PrefabInstance: {fileID: 5633276110490429796}
m_PrefabAsset: {fileID: 0}
--- !u!4 &4134065193624804214 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8607026111008338450, guid: 19df708cf54c899429b4c7aa455bd224, type: 3}
m_PrefabInstance: {fileID: 5633276110490429796}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &5633276110536161595
PrefabInstance:
m_ObjectHideFlags: 0
@ -25534,16 +25719,16 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b359f8f07dc0cc84d9caa48d6aaac4b6, type: 3}
--- !u!4 &8346401425041288640 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4465658888319259899, guid: b359f8f07dc0cc84d9caa48d6aaac4b6, type: 3}
m_PrefabInstance: {fileID: 5633276110536161595}
m_PrefabAsset: {fileID: 0}
--- !u!4 &3448123796942782599 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7059208340993948092, guid: b359f8f07dc0cc84d9caa48d6aaac4b6, type: 3}
m_PrefabInstance: {fileID: 5633276110536161595}
m_PrefabAsset: {fileID: 0}
--- !u!4 &8346401425041288640 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4465658888319259899, guid: b359f8f07dc0cc84d9caa48d6aaac4b6, type: 3}
m_PrefabInstance: {fileID: 5633276110536161595}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &5633276110731332835
PrefabInstance:
m_ObjectHideFlags: 0
@ -25717,16 +25902,16 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
--- !u!4 &1579399496145678239 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6613058589800293244, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
m_PrefabInstance: {fileID: 5633276110731332835}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1579399496278911248 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6613058589667321331, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
m_PrefabInstance: {fileID: 5633276110731332835}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1579399496145678239 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6613058589800293244, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
m_PrefabInstance: {fileID: 5633276110731332835}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &5633276111085063248
PrefabInstance:
m_ObjectHideFlags: 0
@ -25892,16 +26077,16 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
--- !u!4 &1579399495523510691 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6613058589667321331, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
m_PrefabInstance: {fileID: 5633276111085063248}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1579399495656877868 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6613058589800293244, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
m_PrefabInstance: {fileID: 5633276111085063248}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1579399495523510691 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6613058589667321331, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
m_PrefabInstance: {fileID: 5633276111085063248}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &5633276111354821964
PrefabInstance:
m_ObjectHideFlags: 0
@ -26079,16 +26264,16 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
--- !u!4 &1579399495389224496 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6613058589800293244, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
m_PrefabInstance: {fileID: 5633276111354821964}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1579399495253760191 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6613058589667321331, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
m_PrefabInstance: {fileID: 5633276111354821964}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1579399495389224496 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6613058589800293244, guid: 9dc0ffd7f5e4855429cfdf90601da8ce, type: 3}
m_PrefabInstance: {fileID: 5633276111354821964}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &5773291975338941083
PrefabInstance:
m_ObjectHideFlags: 0
@ -26534,16 +26719,16 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: fb8bdc0546de794459a9161f68cc6d22, type: 3}
--- !u!1 &5890192580742988709 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: fb8bdc0546de794459a9161f68cc6d22, type: 3}
m_PrefabInstance: {fileID: 6737177373191372532}
m_PrefabAsset: {fileID: 0}
--- !u!4 &6554420111311345951 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: fb8bdc0546de794459a9161f68cc6d22, type: 3}
m_PrefabInstance: {fileID: 6737177373191372532}
m_PrefabAsset: {fileID: 0}
--- !u!1 &5890192580742988709 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: fb8bdc0546de794459a9161f68cc6d22, type: 3}
m_PrefabInstance: {fileID: 6737177373191372532}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &6885199893834316601
PrefabInstance:
m_ObjectHideFlags: 0
@ -27295,16 +27480,16 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 1a8b4f9baca928345a99e2fe5ff51a23, type: 3}
--- !u!1 &7661144873945090732 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 1a8b4f9baca928345a99e2fe5ff51a23, type: 3}
m_PrefabInstance: {fileID: 7390604341259827197}
m_PrefabAsset: {fileID: 0}
--- !u!4 &6996915969326911510 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 1a8b4f9baca928345a99e2fe5ff51a23, type: 3}
m_PrefabInstance: {fileID: 7390604341259827197}
m_PrefabAsset: {fileID: 0}
--- !u!1 &7661144873945090732 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 1a8b4f9baca928345a99e2fe5ff51a23, type: 3}
m_PrefabInstance: {fileID: 7390604341259827197}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &7665965575748959267
PrefabInstance:
m_ObjectHideFlags: 0
@ -27452,16 +27637,16 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 084e51a313a5c6d44bb80bc9085e4389, type: 3}
--- !u!4 &7773800283002531963 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 084e51a313a5c6d44bb80bc9085e4389, type: 3}
m_PrefabInstance: {fileID: 7811686341763078032}
m_PrefabAsset: {fileID: 0}
--- !u!1 &6965316582323137217 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 084e51a313a5c6d44bb80bc9085e4389, type: 3}
m_PrefabInstance: {fileID: 7811686341763078032}
m_PrefabAsset: {fileID: 0}
--- !u!4 &7773800283002531963 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 084e51a313a5c6d44bb80bc9085e4389, type: 3}
m_PrefabInstance: {fileID: 7811686341763078032}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &8093030807105312815
PrefabInstance:
m_ObjectHideFlags: 0
@ -28131,13 +28316,13 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 1a8b4f9baca928345a99e2fe5ff51a23, type: 3}
--- !u!4 &8810031053730460850 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 1a8b4f9baca928345a99e2fe5ff51a23, type: 3}
m_PrefabInstance: {fileID: 9063843815986484057}
m_PrefabAsset: {fileID: 0}
--- !u!1 &8144852543905984008 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 1a8b4f9baca928345a99e2fe5ff51a23, type: 3}
m_PrefabInstance: {fileID: 9063843815986484057}
m_PrefabAsset: {fileID: 0}
--- !u!4 &8810031053730460850 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 1a8b4f9baca928345a99e2fe5ff51a23, type: 3}
m_PrefabInstance: {fileID: 9063843815986484057}
m_PrefabAsset: {fileID: 0}

View File

@ -47,14 +47,18 @@ public class ScriptedDialogueTrigger : MonoBehaviour
}
}
private void OnTriggerEnter(Collider other)
private void OnTriggerEnter( Collider other )
{
if ( !other.CompareTag( "Player" ) )
return;
if (_log)
Trigger(other.ToString() );
}
public void Trigger( string name = "[UNKNOWN]" ) {
if ( _log )
{
Debug.Log($"{other} triggered dialogue {_key}");
Debug.Log($"{name} triggered dialogue {_key}");
}
if (_keys.Length == 0)