From 59537427dbf071e0702bd75a0d530bd73ebb0d34 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Tue, 25 Aug 2015 14:45:43 +0100 Subject: [PATCH] Fix for Say Dialogs not fading out after Exit block --- .../FungusExamples/TheHunter/TheHunter.unity | 895 ++++++++++++++++-- 1 file changed, 820 insertions(+), 75 deletions(-) diff --git a/Assets/FungusExamples/TheHunter/TheHunter.unity b/Assets/FungusExamples/TheHunter/TheHunter.unity index 680435a7..bfba620c 100644 --- a/Assets/FungusExamples/TheHunter/TheHunter.unity +++ b/Assets/FungusExamples/TheHunter/TheHunter.unity @@ -271,6 +271,125 @@ Prefab: m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} m_IsPrefabParent: 0 +--- !u!1 &288465454 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 180152, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 288465455} + - 222: {fileID: 288465458} + - 114: {fileID: 288465457} + - 114: {fileID: 288465456} + m_Layer: 5 + m_Name: Continue + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &288465455 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22433354, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 288465454} + 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: 1065727433} + m_Father: {fileID: 1962989802} + m_RootOrder: 3 + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 1533.59998, y: 83.8300018} + m_SizeDelta: {x: 77.9000015, y: 77} + m_Pivot: {x: .5, y: .5} +--- !u!114 &288465456 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11419088, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 288465454} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1} + m_PressedColor: {r: .784313738, g: .784313738, b: .784313738, a: 1} + m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814} + m_ColorMultiplier: 1 + m_FadeDuration: .100000001 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 288465457} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1740179574} + m_MethodName: SetButtonClickedFlag + m_Mode: 1 + 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 + m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, + Culture=neutral, PublicKeyToken=null +--- !u!114 &288465457 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11493918, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 288465454} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Sprite: {fileID: 21300000, guid: 226248ac6f184e448af731df91b91958, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &288465458 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22268826, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 288465454} --- !u!1 &307931410 GameObject: m_ObjectHideFlags: 0 @@ -784,7 +903,7 @@ Transform: - {fileID: 686889653} - {fileID: 494523727} m_Father: {fileID: 0} - m_RootOrder: 1 + m_RootOrder: 2 --- !u!4 &494523727 stripped Transform: m_PrefabParentObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} @@ -965,6 +1084,7 @@ Camera: m_OcclusionCulling: 1 m_StereoConvergence: 10 m_StereoSeparation: .0219999999 + m_StereoMirrorMode: 0 --- !u!4 &648988545 Transform: m_ObjectHideFlags: 0 @@ -976,7 +1096,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 0 + m_RootOrder: 1 --- !u!114 &686889652 stripped MonoBehaviour: m_PrefabParentObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, @@ -1188,6 +1308,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} m_Name: m_EditorClassIdentifier: + version: 1.0 scrollPos: {x: 226.013794, y: 380.023193} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 @@ -1208,7 +1329,6 @@ MonoBehaviour: hideComponents: 1 saveSelection: 1 localizationId: - nextItemId: 2 --- !u!4 &891057089 Transform: m_ObjectHideFlags: 1 @@ -1221,6 +1341,75 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 +--- !u!1 &1065727432 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 155030, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1065727433} + - 222: {fileID: 1065727435} + - 114: {fileID: 1065727434} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1065727433 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22443574, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1065727432} + 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: [] + m_Father: {fileID: 288465455} + m_RootOrder: 0 + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: .5, y: .5} +--- !u!114 &1065727434 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11431470, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1065727432} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: .196078435, g: .196078435, b: .196078435, a: 1} + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: +--- !u!222 &1065727435 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22257884, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1065727432} --- !u!1001 &1208210135 Prefab: m_ObjectHideFlags: 0 @@ -1387,6 +1576,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} m_Name: m_EditorClassIdentifier: + version: 1.0 scrollPos: {x: 0, y: 0} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 @@ -1407,7 +1597,6 @@ MonoBehaviour: hideComponents: 1 saveSelection: 1 localizationId: - nextItemId: 1 --- !u!4 &1247920062 Transform: m_ObjectHideFlags: 1 @@ -1420,6 +1609,159 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 +--- !u!1 &1260897980 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 148914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1260897984} + - 222: {fileID: 1260897983} + - 114: {fileID: 1260897982} + - 114: {fileID: 1260897981} + m_Layer: 5 + m_Name: Image + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1260897981 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11439142, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1260897980} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 350 + m_PreferredHeight: 350 + m_FlexibleWidth: -1 + m_FlexibleHeight: -1 +--- !u!114 &1260897982 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11448914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1260897980} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &1260897983 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22248914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1260897980} +--- !u!224 &1260897984 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22448914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1260897980} + 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: [] + m_Father: {fileID: 1962989802} + m_RootOrder: 1 + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 1435, y: 404} + m_SizeDelta: {x: 300, y: 300} + m_Pivot: {x: .5, y: .5} +--- !u!1 &1425586166 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1425586167} + - 222: {fileID: 1425586169} + - 114: {fileID: 1425586168} + m_Layer: 5 + m_Name: NameText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1425586167 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1425586166} + 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: [] + m_Father: {fileID: 1962989802} + m_RootOrder: 0 + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 622.25, y: 281} + m_SizeDelta: {x: 1178.5, y: 71} + m_Pivot: {x: .5, y: .5} +--- !u!114 &1425586168 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1425586166} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: .258823544, g: .254901975, b: .262745112, a: 1} + m_FontData: + m_Font: {fileID: 12800000, guid: bb145366ce7024469a5758b08d31802c, type: 3} + m_FontSize: 50 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_RichText: 1 + m_HorizontalOverflow: 1 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Character Name +--- !u!222 &1425586169 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22288898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1425586166} --- !u!1001 &1557115304 Prefab: m_ObjectHideFlags: 0 @@ -1568,7 +1910,7 @@ Transform: - {fileID: 577549096} - {fileID: 700450245} m_Father: {fileID: 0} - m_RootOrder: 3 + m_RootOrder: 4 --- !u!212 &1594072536 SpriteRenderer: m_ObjectHideFlags: 0 @@ -1605,6 +1947,95 @@ MonoBehaviour: Transform: m_PrefabParentObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} m_PrefabInternal: {fileID: 1827495415} +--- !u!1 &1683395730 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1683395731} + - 222: {fileID: 1683395734} + - 114: {fileID: 1683395733} + - 114: {fileID: 1683395732} + m_Layer: 5 + m_Name: StoryText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1683395731 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1683395730} + 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: [] + m_Father: {fileID: 1962989802} + m_RootOrder: 2 + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 803, y: 145.630005} + m_SizeDelta: {x: 1539, y: 199.75} + m_Pivot: {x: .5, y: .5} +--- !u!114 &1683395732 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11439138, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1683395730} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 1150 + m_PreferredHeight: 200 + m_FlexibleWidth: 1 + m_FlexibleHeight: -1 +--- !u!114 &1683395733 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1683395730} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FontData: + m_Font: {fileID: 12800000, guid: 79197ecfbc3a4294a89ce589dac02cf2, type: 3} + m_FontSize: 50 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Story text +--- !u!222 &1683395734 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22288894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1683395730} --- !u!4 &1712414754 stripped Transform: m_PrefabParentObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} @@ -1625,6 +2056,261 @@ MonoBehaviour: type: 2} m_PrefabInternal: {fileID: 447139369} m_Script: {fileID: 11500000, guid: 95c387d3e32404bcc91c60318d766bb1, type: 3} +--- !u!1 &1740179572 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1740179573} + - 223: {fileID: 1740179582} + - 114: {fileID: 1740179581} + - 225: {fileID: 1740179580} + - 114: {fileID: 1740179579} + - 114: {fileID: 1740179578} + - 114: {fileID: 1740179577} + - 114: {fileID: 1740179576} + - 114: {fileID: 1740179574} + - 82: {fileID: 1740179575} + m_Layer: 5 + m_Name: SayDialog + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1740179573 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1740179572} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 1962989802} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!114 &1740179574 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11481894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1740179572} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 43b85556abd314f3f870c18c013fdcef, type: 3} + m_Name: + m_EditorClassIdentifier: + clickMode: 1 + keyPressMode: 2 + shiftKeyEnabled: 1 + nextClickDelay: 0 + keyList: 0900000020000000 +--- !u!82 &1740179575 +AudioSource: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 8294266, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1740179572} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_PlayOnAwake: 0 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 +--- !u!114 &1740179576 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11404316, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1740179572} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c4782cf42f2644447b9631f6e522160b, type: 3} + m_Name: + m_EditorClassIdentifier: + volume: 1 + loop: 1 + targetAudioSource: {fileID: 0} + audioMode: 0 + beepSounds: + - {fileID: 8300000, guid: 774486030b696474e8b3cf7f178123da, type: 3} + - {fileID: 8300000, guid: f637c5ce9d10e45c7855ed89bfc6b97e, type: 3} + - {fileID: 8300000, guid: c53b7c20372e444c6bd7f2ac0729bbe2, type: 3} + soundEffect: {fileID: 0} +--- !u!114 &1740179577 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11487070, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1740179572} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Name: + m_EditorClassIdentifier: + targetTextObject: {fileID: 1683395730} + writingSpeed: 60 + punctuationPause: .25 + hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} + writeWholeWords: 0 +--- !u!114 &1740179578 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1740179572} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} + m_Name: + m_EditorClassIdentifier: + fadeDuration: .25 + continueButton: {fileID: 288465456} + dialogCanvas: {fileID: 1740179582} + nameText: {fileID: 1425586168} + storyText: {fileID: 1683395733} + characterImage: {fileID: 1260897982} +--- !u!114 &1740179579 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11486804, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1740179572} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!225 &1740179580 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22588896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1740179572} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &1740179581 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488906, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1740179572} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 32 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1600, y: 1200} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 1 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &1740179582 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22388894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1740179572} + m_Enabled: 1 + serializedVersion: 2 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 1 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingLayerID: 0 + m_SortingOrder: 1 --- !u!1001 &1827495415 Prefab: m_ObjectHideFlags: 0 @@ -1684,9 +2370,7 @@ GameObject: m_Component: - 4: {fileID: 1831099567} - 114: {fileID: 1831099568} - - 114: {fileID: 1831099570} - 114: {fileID: 1831099569} - - 114: {fileID: 1831099571} - 114: {fileID: 1831099578} - 114: {fileID: 1831099577} - 114: {fileID: 1831099576} @@ -1779,7 +2463,7 @@ Transform: m_Children: - {fileID: 332860038} m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 5 --- !u!114 &1831099568 MonoBehaviour: m_ObjectHideFlags: 0 @@ -1792,11 +2476,12 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} m_Name: m_EditorClassIdentifier: - scrollPos: {x: 287.41153, y: 432.32724} + version: 1.0 + scrollPos: {x: 347.039337, y: 522.620728} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 blockViewHeight: 400 - zoom: .985999107 + zoom: .5869748 scrollViewRect: serializedVersion: 2 x: -810.017578 @@ -1804,7 +2489,8 @@ MonoBehaviour: width: 1939.01758 height: 2009.52234 selectedBlock: {fileID: 1831099637} - selectedCommands: [] + selectedCommands: + - {fileID: 1831099633} variables: - {fileID: 1831099569} description: 'This is an example of a short Visual Novel / RPG @@ -1815,7 +2501,6 @@ MonoBehaviour: hideComponents: 0 saveSelection: 1 localizationId: - nextItemId: 73 --- !u!114 &1831099569 MonoBehaviour: m_ObjectHideFlags: 0 @@ -1830,35 +2515,6 @@ MonoBehaviour: scope: 0 key: SkipperAngry value: 0 ---- !u!114 &1831099570 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11400104, guid: 4844148fce0014eedac572d6562c44d0, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1831099566} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3} - m_Name: - m_EditorClassIdentifier: - scope: 0 - key: Var - value: 0 ---- !u!114 &1831099571 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1831099566} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 705fa1ac97df74e3a84ff952ffd923f1, type: 3} - m_Name: - m_EditorClassIdentifier: - scope: 0 - key: Var - value: 0 --- !u!114 &1831099572 MonoBehaviour: m_ObjectHideFlags: 0 @@ -2058,7 +2714,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2086,7 +2741,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2134,7 +2788,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2160,7 +2813,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2186,7 +2838,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2212,7 +2863,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2239,7 +2889,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2302,7 +2951,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2380,7 +3028,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2412,7 +3059,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2442,7 +3088,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2527,6 +3172,9 @@ MonoBehaviour: description: targetBlock: {fileID: 1831099592} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &1831099601 MonoBehaviour: @@ -2546,6 +3194,9 @@ MonoBehaviour: description: targetBlock: {fileID: 1831099599} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &1831099602 MonoBehaviour: @@ -2585,7 +3236,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 0 setSayDialog: {fileID: 0} @@ -2611,7 +3261,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2659,7 +3308,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2733,7 +3381,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2759,7 +3406,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2806,7 +3452,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2832,7 +3477,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2878,7 +3522,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2904,7 +3547,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2947,7 +3589,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2973,7 +3614,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -2999,7 +3639,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -3062,7 +3701,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -3234,8 +3872,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099634 @@ -3308,8 +3945,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099637 @@ -3409,7 +4045,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -3437,7 +4072,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -3463,7 +4097,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -3493,7 +4126,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 1 setSayDialog: {fileID: 0} @@ -3606,6 +4238,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} m_Name: m_EditorClassIdentifier: + version: 1.0 scrollPos: {x: 0, y: 0} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 @@ -3626,7 +4259,6 @@ MonoBehaviour: hideComponents: 1 saveSelection: 1 localizationId: - nextItemId: 1 --- !u!4 &1846387300 Transform: m_ObjectHideFlags: 1 @@ -3689,6 +4321,119 @@ Prefab: m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: e0d427add844a4d9faf970a3afa07583, type: 2} m_IsPrefabParent: 0 +--- !u!1 &1962989801 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1962989802} + - 222: {fileID: 1962989806} + - 114: {fileID: 1962989805} + - 225: {fileID: 1962989804} + - 114: {fileID: 1962989803} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1962989802 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1962989801} + 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: 1425586167} + - {fileID: 1260897984} + - {fileID: 1683395731} + - {fileID: 288465455} + m_Father: {fileID: 1740179573} + m_RootOrder: 0 + m_AnchorMin: {x: .5, y: 0} + m_AnchorMax: {x: .5, y: 0} + m_AnchoredPosition: {x: -805, y: 0} + m_SizeDelta: {x: 1605, y: 335} + m_Pivot: {x: 0, y: 0} +--- !u!114 &1962989803 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11478524, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1962989801} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -1862395651, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Delegates: + - eventID: 4 + callback: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1740179574} + m_MethodName: SetDialogClickedFlag + m_Mode: 1 + 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 + m_TypeName: UnityEngine.EventSystems.EventTrigger+TriggerEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + delegates: [] +--- !u!225 &1962989804 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22583964, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1962989801} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &1962989805 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488904, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1962989801} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Sprite: {fileID: 21300000, guid: eeb00f6cd27e9ef4d9174551b3342dec, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 0 + m_FillMethod: 0 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &1962989806 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22288900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1962989801} --- !u!1 &2006673388 GameObject: m_ObjectHideFlags: 0 @@ -3721,7 +4466,7 @@ Transform: - {fileID: 842161035} - {fileID: 1218601919} m_Father: {fileID: 0} - m_RootOrder: 2 + m_RootOrder: 3 --- !u!4 &2069641430 stripped Transform: m_PrefabParentObject: {fileID: 400000, guid: e0d427add844a4d9faf970a3afa07583, type: 2}