diff --git a/Assets/Fungus/Audio/Scripts/Commands/ControlAudio.cs b/Assets/Fungus/Audio/Scripts/Commands/ControlAudio.cs index 8d8d5114..154f9b28 100644 --- a/Assets/Fungus/Audio/Scripts/Commands/ControlAudio.cs +++ b/Assets/Fungus/Audio/Scripts/Commands/ControlAudio.cs @@ -5,7 +5,7 @@ namespace Fungus { [CommandInfo("Audio", "Control Audio", - "Plays, loops, or stops an audiosource.")] + "Plays, loops, or stops an audiosource. Any AudioSources with the same tag as the target Audio Source will automatically be stoped.")] public class ControlAudio : Command { public enum controlType @@ -78,8 +78,13 @@ namespace Fungus */ protected void StopAudioWithSameTag() { - AudioSource[] audioSources = GameObject.FindObjectsOfType(); + // Don't stop audio if there's no tag assigned + if (audioSource.tag == "Untagged") + { + return; + } + AudioSource[] audioSources = GameObject.FindObjectsOfType(); foreach (AudioSource a in audioSources) { if ((a.GetComponent() != audioSource) && (a.tag == audioSource.tag)) diff --git a/Assets/Fungus/Flowchart/Scripts/Flowchart.cs b/Assets/Fungus/Flowchart/Scripts/Flowchart.cs index 900d1b98..e0359574 100644 --- a/Assets/Fungus/Flowchart/Scripts/Flowchart.cs +++ b/Assets/Fungus/Flowchart/Scripts/Flowchart.cs @@ -1,4 +1,5 @@ using UnityEngine; +using UnityEngine.EventSystems; using UnityEngine.Serialization; using System; using System.Linq; @@ -128,6 +129,8 @@ namespace Fungus */ public static List cachedFlowcharts = new List(); + protected static bool eventSystemPresent; + /** * Returns the next id to assign to a new flowchart item. * Item ids increase monotically so they are guaranteed to @@ -150,6 +153,41 @@ namespace Fungus return maxId + 1; } + protected virtual void OnLevelWasLoaded(int level) + { + // Reset the flag for checking for an event system as there may not be one in the newly loaded scene. + eventSystemPresent = false; + } + + protected virtual void Start() + { + CheckEventSystem(); + } + + // There must be an Event System in the scene for Say and Menu input to work. + // This method will automatically instantiate one if none exists. + protected virtual void CheckEventSystem() + { + if (eventSystemPresent) + { + return; + } + + EventSystem eventSystem = GameObject.FindObjectOfType(); + if (eventSystem == null) + { + // Auto spawn an Event System from the prefab + GameObject prefab = Resources.Load("EventSystem"); + if (prefab != null) + { + GameObject go = Instantiate(prefab) as GameObject; + go.name = "EventSystem"; + } + } + + eventSystemPresent = true; + } + public virtual void OnEnable() { if (!cachedFlowcharts.Contains(this)) diff --git a/Assets/Fungus/Narrative/Audio/Click.wav b/Assets/Fungus/Narrative/Audio/Click.wav new file mode 100644 index 00000000..4c5761cf Binary files /dev/null and b/Assets/Fungus/Narrative/Audio/Click.wav differ diff --git a/Assets/Fungus/Narrative/Audio/Click.wav.meta b/Assets/Fungus/Narrative/Audio/Click.wav.meta new file mode 100644 index 00000000..cfc7c425 --- /dev/null +++ b/Assets/Fungus/Narrative/Audio/Click.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 14a396b1562834718b2d52b9c4639264 +timeCreated: 1440511211 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 1 + sampleRateSetting: 0 + sampleRateOverride: 0 + compressionFormat: 0 + quality: .5 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Narrative/Audio/HighVoice.wav b/Assets/Fungus/Narrative/Audio/HighVoice.wav new file mode 100644 index 00000000..a1ee7527 Binary files /dev/null and b/Assets/Fungus/Narrative/Audio/HighVoice.wav differ diff --git a/Assets/Fungus/Narrative/Audio/HighVoice.wav.meta b/Assets/Fungus/Narrative/Audio/HighVoice.wav.meta new file mode 100644 index 00000000..28679d24 --- /dev/null +++ b/Assets/Fungus/Narrative/Audio/HighVoice.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 774486030b696474e8b3cf7f178123da +timeCreated: 1440509679 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 1 + sampleRateSetting: 0 + sampleRateOverride: 0 + compressionFormat: 0 + quality: .5 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Narrative/Audio/LowVoice.wav b/Assets/Fungus/Narrative/Audio/LowVoice.wav new file mode 100644 index 00000000..63293edf Binary files /dev/null and b/Assets/Fungus/Narrative/Audio/LowVoice.wav differ diff --git a/Assets/Fungus/Narrative/Audio/LowVoice.wav.meta b/Assets/Fungus/Narrative/Audio/LowVoice.wav.meta new file mode 100644 index 00000000..81a388b5 --- /dev/null +++ b/Assets/Fungus/Narrative/Audio/LowVoice.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: c53b7c20372e444c6bd7f2ac0729bbe2 +timeCreated: 1440509678 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 1 + sampleRateSetting: 0 + sampleRateOverride: 0 + compressionFormat: 0 + quality: .5 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Narrative/Editor/DialogInputEditor.cs b/Assets/Fungus/Narrative/Editor/DialogInputEditor.cs new file mode 100644 index 00000000..61d552e8 --- /dev/null +++ b/Assets/Fungus/Narrative/Editor/DialogInputEditor.cs @@ -0,0 +1,49 @@ +using UnityEditor; +using UnityEngine; +using System.Collections; +using Rotorz.ReorderableList; +using System.Collections.Generic; + +namespace Fungus +{ + + [CustomEditor (typeof(DialogInput))] + public class DialogInputEditor : Editor + { + protected SerializedProperty clickModeProp; + protected SerializedProperty nextClickDelayProp; + protected SerializedProperty keyPressModeProp; + protected SerializedProperty shiftKeyEnabledProp; + protected SerializedProperty keyListProp; + + protected virtual void OnEnable() + { + clickModeProp = serializedObject.FindProperty ("clickMode"); + nextClickDelayProp = serializedObject.FindProperty ("nextClickDelay"); + keyPressModeProp = serializedObject.FindProperty ("keyPressMode"); + shiftKeyEnabledProp = serializedObject.FindProperty ("shiftKeyEnabled"); + keyListProp = serializedObject.FindProperty ("keyList"); + } + + public override void OnInspectorGUI() + { + serializedObject.Update(); + + DialogInput t = target as DialogInput; + + EditorGUILayout.PropertyField(clickModeProp); + EditorGUILayout.PropertyField(nextClickDelayProp); + + EditorGUILayout.PropertyField(keyPressModeProp); + if (t.keyPressMode == DialogInput.KeyPressMode.KeyPressed) + { + EditorGUILayout.PropertyField(shiftKeyEnabledProp); + ReorderableListGUI.Title(new GUIContent("Key List", "Keycodes to check for user input")); + ReorderableListGUI.ListField(keyListProp); + } + + serializedObject.ApplyModifiedProperties(); + } + } + +} \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/DialogParser.cs.meta b/Assets/Fungus/Narrative/Editor/DialogInputEditor.cs.meta similarity index 52% rename from Assets/Fungus/Narrative/Scripts/DialogParser.cs.meta rename to Assets/Fungus/Narrative/Editor/DialogInputEditor.cs.meta index fcef51aa..3419bb5f 100644 --- a/Assets/Fungus/Narrative/Scripts/DialogParser.cs.meta +++ b/Assets/Fungus/Narrative/Editor/DialogInputEditor.cs.meta @@ -1,8 +1,12 @@ fileFormatVersion: 2 -guid: 674037e0ad6e34e149f9bbab6940e155 +guid: 2a336080b178f4c239754dd614d6d6b4 +timeCreated: 1440156410 +licenseType: Free MonoImporter: serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Narrative/Editor/SayEditor.cs b/Assets/Fungus/Narrative/Editor/SayEditor.cs index 3ae884e9..273b50c9 100644 --- a/Assets/Fungus/Narrative/Editor/SayEditor.cs +++ b/Assets/Fungus/Narrative/Editor/SayEditor.cs @@ -16,34 +16,7 @@ namespace Fungus static public void DrawTagHelpLabel() { - string tagsText = ""; - tagsText += "\n"; - tagsText += "\t-------- DEFAULT TAGS --------\n\n" + - "\t{b} Bold Text {/b}\n" + - "\t{i} Italic Text {/i}\n" + - "\t{color=red} Color Text (color){/color}\n" + - "\n" + - "\t{s}, {s=60} Writing speed (chars per sec){/s}\n" + - "\t{w}, {w=0.5} Wait (seconds)\n" + - "\t{wi} Wait for input\n" + - "\t{wc} Wait for input and clear\n" + - "\t{wp}, {wp=0.5} Wait on punctuation (seconds){/wp}\n" + - "\t{c} Clear\n" + - "\t{x} Exit, advance to the next command without waiting for input\n" + - "\n" + - "\t{vpunch=0.5} Vertically punch screen (intensity)\n" + - "\t{hpunch=0.5} Horizontally punch screen (intensity)\n" + - "\t{shake=1} Shake screen (intensity)\n" + - "\t{shiver=1} Shiver screen (intensity)\n" + - "\t{flash=0.5} Flash screen (duration)\n" + - "\n" + - "\t{audio=AudioObjectName} Play Audio Once\n" + - "\t{audioloop=AudioObjectName} Play Audio Loop\n" + - "\t{audiopause=AudioObjectName} Pause Audio\n" + - "\t{audiostop=AudioObjectName} Stop Audio\n" + - "\n" + - "\t{m=MessageName} Broadcast message\n" + - "\t{$VarName} Substitute variable"; + string tagsText = TextTagParser.GetTagHelp(); if (CustomTag.activeCustomTags.Count > 0) { @@ -105,8 +78,7 @@ namespace Fungus protected SerializedProperty showAlwaysProp; protected SerializedProperty showCountProp; protected SerializedProperty extendPreviousProp; - protected SerializedProperty fadeInProp; - protected SerializedProperty fadeOutProp; + protected SerializedProperty fadeWhenDoneProp; protected SerializedProperty waitForClickProp; protected SerializedProperty setSayDialogProp; @@ -123,8 +95,7 @@ namespace Fungus showAlwaysProp = serializedObject.FindProperty("showAlways"); showCountProp = serializedObject.FindProperty("showCount"); extendPreviousProp = serializedObject.FindProperty("extendPrevious"); - fadeInProp = serializedObject.FindProperty("fadeIn"); - fadeOutProp = serializedObject.FindProperty("fadeOut"); + fadeWhenDoneProp = serializedObject.FindProperty("fadeWhenDone"); waitForClickProp = serializedObject.FindProperty("waitForClick"); setSayDialogProp = serializedObject.FindProperty("setSayDialog"); @@ -217,14 +188,7 @@ namespace Fungus rightButton.fontSize = 10; rightButton.font = EditorStyles.toolbarButton.font; - EditorGUILayout.BeginHorizontal(); - - EditorGUILayout.PrefixLabel("Fade"); - t.fadeIn = GUILayout.Toggle(t.fadeIn, "In", leftButton, GUILayout.Width(60)); - t.fadeOut = GUILayout.Toggle(t.fadeOut, "Out", rightButton, GUILayout.Width(60)); - - EditorGUILayout.EndHorizontal(); - + EditorGUILayout.PropertyField(fadeWhenDoneProp); EditorGUILayout.PropertyField(waitForClickProp); EditorGUILayout.PropertyField(setSayDialogProp); diff --git a/Assets/Fungus/Narrative/Resources/SayDialog.prefab b/Assets/Fungus/Narrative/Resources/SayDialog.prefab index a9115820..2af45552 100644 --- a/Assets/Fungus/Narrative/Resources/SayDialog.prefab +++ b/Assets/Fungus/Narrative/Resources/SayDialog.prefab @@ -1,72 +1,71 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!1 &139138 +--- !u!1 &148914 GameObject: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} serializedVersion: 4 m_Component: - - 224: {fileID: 22439138} - - 222: {fileID: 22239138} - - 114: {fileID: 11439140} + - 224: {fileID: 22448914} + - 222: {fileID: 22248914} + - 114: {fileID: 11448914} + - 114: {fileID: 11439142} m_Layer: 5 - m_Name: Container + m_Name: Image m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!1 &148914 +--- !u!1 &155030 GameObject: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} serializedVersion: 4 m_Component: - - 224: {fileID: 22448914} - - 222: {fileID: 22248914} - - 114: {fileID: 11448914} - - 114: {fileID: 11439142} + - 224: {fileID: 22443574} + - 222: {fileID: 22257884} + - 114: {fileID: 11431470} m_Layer: 5 - m_Name: Image + m_Name: Text m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!1 &188894 +--- !u!1 &180152 GameObject: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} serializedVersion: 4 m_Component: - - 224: {fileID: 22488896} - - 222: {fileID: 22288894} - - 114: {fileID: 11488896} - - 114: {fileID: 11439138} + - 224: {fileID: 22433354} + - 222: {fileID: 22268826} + - 114: {fileID: 11493918} + - 114: {fileID: 11419088} m_Layer: 5 - m_Name: StoryText + m_Name: Continue m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!1 &188896 +--- !u!1 &188894 GameObject: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} serializedVersion: 4 m_Component: - - 224: {fileID: 22488898} - - 222: {fileID: 22288896} - - 114: {fileID: 11488898} - - 212: {fileID: 21288894} - - 95: {fileID: 9588894} + - 224: {fileID: 22488896} + - 222: {fileID: 22288894} + - 114: {fileID: 11488896} + - 114: {fileID: 11439138} m_Layer: 5 - m_Name: Continue + m_Name: StoryText m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -99,9 +98,8 @@ GameObject: - 224: {fileID: 22488900} - 222: {fileID: 22288900} - 114: {fileID: 11488904} - - 225: {fileID: 22588894} - - 114: {fileID: 11488902} - - 114: {fileID: 11439144} + - 225: {fileID: 22583964} + - 114: {fileID: 11478524} m_Layer: 5 m_Name: Panel m_TagString: Untagged @@ -120,7 +118,11 @@ GameObject: - 223: {fileID: 22388894} - 114: {fileID: 11488906} - 225: {fileID: 22588896} + - 114: {fileID: 11486804} - 114: {fileID: 11488894} + - 114: {fileID: 11487070} + - 114: {fileID: 11404316} + - 114: {fileID: 11481894} - 82: {fileID: 8294266} m_Layer: 5 m_Name: SayDialog @@ -198,67 +200,111 @@ AudioSource: tangentMode: 0 m_PreInfinity: 2 m_PostInfinity: 2 ---- !u!95 &9588894 -Animator: - serializedVersion: 3 +--- !u!114 &11404316 +MonoBehaviour: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 188896} + m_GameObject: {fileID: 188902} m_Enabled: 1 - m_Avatar: {fileID: 0} - m_Controller: {fileID: 0} - m_CullingMode: 0 - m_UpdateMode: 0 - m_ApplyRootMotion: 1 - m_LinearVelocityBlending: 0 - m_WarningMessage: - m_HasTransformHierarchy: 1 - m_AllowConstantClipSamplingOptimization: 1 ---- !u!114 &11439138 + 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} + inputSound: {fileID: 8300000, guid: 14a396b1562834718b2d52b9c4639264, type: 3} +--- !u!114 &11419088 MonoBehaviour: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 188894} + m_GameObject: {fileID: 180152} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 1392445389, 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 &11439140 + 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: 11493918} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 11481894} + 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 &11431470 MonoBehaviour: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 139138} + m_GameObject: {fileID: 155030} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: -405508275, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_ChildAlignment: 7 - m_Spacing: 0 - m_ChildForceExpandWidth: 0 - m_ChildForceExpandHeight: 0 ---- !u!114 &11439142 + 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!114 &11439138 MonoBehaviour: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 148914} + m_GameObject: {fileID: 188894} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} @@ -267,30 +313,28 @@ MonoBehaviour: m_IgnoreLayout: 0 m_MinWidth: -1 m_MinHeight: -1 - m_PreferredWidth: 350 - m_PreferredHeight: 350 - m_FlexibleWidth: -1 + m_PreferredWidth: 1150 + m_PreferredHeight: 200 + m_FlexibleWidth: 1 m_FlexibleHeight: -1 ---- !u!114 &11439144 +--- !u!114 &11439142 MonoBehaviour: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 188900} - m_Enabled: 0 + m_GameObject: {fileID: 148914} + m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: -405508275, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_ChildAlignment: 0 - m_Spacing: 0 - m_ChildForceExpandWidth: 1 - m_ChildForceExpandHeight: 1 + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 350 + m_PreferredHeight: 350 + m_FlexibleWidth: -1 + m_FlexibleHeight: -1 --- !u!114 &11448914 MonoBehaviour: m_ObjectHideFlags: 1 @@ -312,6 +356,84 @@ MonoBehaviour: m_FillAmount: 1 m_FillClockwise: 1 m_FillOrigin: 0 +--- !u!114 &11478524 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 188900} + 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: 11481894} + 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!114 &11481894 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 188902} + 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!114 &11486804 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 188902} + 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!114 &11487070 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 188902} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Name: + m_EditorClassIdentifier: + targetTextObject: {fileID: 188894} + writingSpeed: 60 + punctuationPause: .25 + hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} + writeWholeWords: 0 --- !u!114 &11488894 MonoBehaviour: m_ObjectHideFlags: 1 @@ -323,29 +445,12 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} m_Name: m_EditorClassIdentifier: - writingSpeed: 30 - writingSound: {fileID: 8300000, guid: f637c5ce9d10e45c7855ed89bfc6b97e, type: 3} - writingVolume: 1 - loopWritingSound: 1 - beepPerCharacter: 0 - slowBeepsAt: 10 - fastBeepsAt: 30 - punctuationPause: .200000003 - alwaysFadeDialog: 0 fadeDuration: .25 - fadeEaseType: 0 - alwaysMoveDialog: 0 - startPosition: {x: 0, y: 0} - moveSpeed: 1000 - moveEaseType: 0 - clickAnywhere: 1 + continueButton: {fileID: 11419088} dialogCanvas: {fileID: 22388894} nameText: {fileID: 11488900} storyText: {fileID: 11488896} characterImage: {fileID: 11448914} - characterTypingSound: {fileID: 0} - continueImage: {fileID: 11488898} - continueSound: {fileID: 0} --- !u!114 &11488896 MonoBehaviour: m_ObjectHideFlags: 1 @@ -361,9 +466,9 @@ MonoBehaviour: m_Color: {r: 1, g: 1, b: 1, a: 1} m_FontData: m_Font: {fileID: 12800000, guid: 79197ecfbc3a4294a89ce589dac02cf2, type: 3} - m_FontSize: 40 + m_FontSize: 50 m_FontStyle: 0 - m_BestFit: 1 + m_BestFit: 0 m_MinSize: 10 m_MaxSize: 40 m_Alignment: 0 @@ -372,27 +477,6 @@ MonoBehaviour: m_VerticalOverflow: 0 m_LineSpacing: 1 m_Text: Story text ---- !u!114 &11488898 -MonoBehaviour: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 188896} - 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: 1 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 --- !u!114 &11488900 MonoBehaviour: m_ObjectHideFlags: 1 @@ -419,36 +503,6 @@ MonoBehaviour: m_VerticalOverflow: 0 m_LineSpacing: 1 m_Text: Character Name ---- !u!114 &11488902 -MonoBehaviour: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 188900} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: -1862395651, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - delegates: - - eventID: 4 - callback: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 0} - m_MethodName: OnPointerClick - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine, Version=0.0.0.0, - Culture=neutral, PublicKeyToken=null - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 1 - m_TypeName: UnityEngine.EventSystems.EventTrigger+TriggerEvent, UnityEngine.UI, - Version=1.0.0.0, Culture=neutral, PublicKeyToken=null --- !u!114 &11488904 MonoBehaviour: m_ObjectHideFlags: 1 @@ -465,7 +519,7 @@ MonoBehaviour: m_Sprite: {fileID: 21300000, guid: eeb00f6cd27e9ef4d9174551b3342dec, type: 3} m_Type: 0 m_PreserveAspect: 1 - m_FillCenter: 1 + m_FillCenter: 0 m_FillMethod: 0 m_FillAmount: 1 m_FillClockwise: 1 @@ -491,56 +545,51 @@ MonoBehaviour: m_FallbackScreenDPI: 96 m_DefaultSpriteDPI: 96 m_DynamicPixelsPerUnit: 1 ---- !u!212 &21288894 -SpriteRenderer: +--- !u!114 &11493918 +MonoBehaviour: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 188896} + m_GameObject: {fileID: 180152} m_Enabled: 1 - m_CastShadows: 0 - m_ReceiveShadows: 0 - m_Materials: - - {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} - m_SubsetIndices: - m_StaticBatchRoot: {fileID: 0} - m_UseLightProbes: 0 - m_ReflectionProbeUsage: 1 - m_ProbeAnchor: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_ImportantGI: 0 - m_AutoUVMaxDistance: .5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingOrder: 0 - m_Sprite: {fileID: 21300000, guid: 226248ac6f184e448af731df91b91958, type: 3} + 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} ---- !u!222 &22239138 + 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 &22248914 CanvasRenderer: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 139138} ---- !u!222 &22248914 + m_GameObject: {fileID: 148914} +--- !u!222 &22257884 CanvasRenderer: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 148914} ---- !u!222 &22288894 + m_GameObject: {fileID: 155030} +--- !u!222 &22268826 CanvasRenderer: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 188894} ---- !u!222 &22288896 + m_GameObject: {fileID: 180152} +--- !u!222 &22288894 CanvasRenderer: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 188896} + m_GameObject: {fileID: 188894} --- !u!222 &22288898 CanvasRenderer: m_ObjectHideFlags: 1 @@ -570,94 +619,92 @@ Canvas: m_OverridePixelPerfect: 0 m_SortingLayerID: 0 m_SortingOrder: 1 ---- !u!224 &22439138 +--- !u!224 &22433354 RectTransform: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 139138} + m_GameObject: {fileID: 180152} 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: 22488896} - - {fileID: 22448914} + - {fileID: 22443574} m_Father: {fileID: 22488900} - m_RootOrder: 0 + m_RootOrder: 3 m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -2, y: -381} - m_SizeDelta: {x: -90, y: -846} + 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!224 &22448914 +--- !u!224 &22443574 RectTransform: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 148914} + m_GameObject: {fileID: 155030} 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: 22439138} - m_RootOrder: 1 + m_Father: {fileID: 22433354} + m_RootOrder: 0 m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {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!224 &22488894 +--- !u!224 &22448914 RectTransform: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 188898} + m_GameObject: {fileID: 148914} 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: 22488900} m_RootOrder: 1 - m_AnchorMin: {x: .0131249959, y: 1} - m_AnchorMax: {x: .785268068, y: 1} - m_AnchoredPosition: {x: -22.25, y: -914} - m_SizeDelta: {x: -68.5, y: 71} + 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!224 &22488896 +--- !u!224 &22488894 RectTransform: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 188894} + m_GameObject: {fileID: 188898} 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: 22488898} - m_Father: {fileID: 22439138} + m_Children: [] + m_Father: {fileID: 22488900} 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_AnchoredPosition: {x: 622.25, y: 281} + m_SizeDelta: {x: 1178.5, y: 71} m_Pivot: {x: .5, y: .5} ---- !u!224 &22488898 +--- !u!224 &22488896 RectTransform: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 188896} + m_GameObject: {fileID: 188894} 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: 22488896} - m_RootOrder: 0 - m_AnchorMin: {x: .942586243, y: .0550000034} - m_AnchorMax: {x: .988172412, y: .0550000034} - m_AnchoredPosition: {x: -.400008023, y: 21.6499996} - m_SizeDelta: {x: -.400001526, y: 43.2999992} - m_Pivot: {x: .500000417, y: .5} + m_Father: {fileID: 22488900} + 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!224 &22488900 RectTransform: m_ObjectHideFlags: 1 @@ -668,14 +715,16 @@ RectTransform: m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - - {fileID: 22439138} - {fileID: 22488894} + - {fileID: 22448914} + - {fileID: 22488896} + - {fileID: 22433354} m_Father: {fileID: 22488902} m_RootOrder: 0 - m_AnchorMin: {x: .5, y: .5} - m_AnchorMax: {x: .5, y: .5} - m_AnchoredPosition: {x: -800, y: -600} - m_SizeDelta: {x: 1600, y: 1200} + 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!224 &22488902 RectTransform: @@ -695,7 +744,7 @@ RectTransform: m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0, y: 0} ---- !u!225 &22588894 +--- !u!225 &22583964 CanvasGroup: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} diff --git a/Assets/Fungus/Narrative/Scripts/Commands/Menu.cs b/Assets/Fungus/Narrative/Scripts/Commands/Menu.cs index 6d0f2f36..d464a493 100644 --- a/Assets/Fungus/Narrative/Scripts/Commands/Menu.cs +++ b/Assets/Fungus/Narrative/Scripts/Commands/Menu.cs @@ -1,6 +1,5 @@ using UnityEngine; using UnityEngine.Serialization; -using UnityEngine.EventSystems; using System; using System.Collections; using System.Collections.Generic; @@ -32,12 +31,8 @@ namespace Fungus [Tooltip("A custom Menu Dialog to use to display this menu. All subsequent Menu commands will use this dialog.")] public MenuDialog setMenuDialog; - protected static bool eventSystemPresent; - public override void OnEnter() { - CheckEventSystem(); - if (setMenuDialog != null) { // Override the active menu dialog @@ -60,37 +55,6 @@ namespace Fungus Continue(); } - void OnLevelWasLoaded(int level) - { - // Reset the flag for checking for an event system as there may not be one - // in the newly loaded scene. - eventSystemPresent = false; - } - - // There must be an Event System in the scene for Menu input to work. - // This function will automatically instantiate one if none exists. - protected virtual void CheckEventSystem() - { - if (eventSystemPresent) - { - return; - } - - EventSystem eventSystem = GameObject.FindObjectOfType(); - if (eventSystem == null) - { - // Auto spawn an Event System from the prefab - GameObject prefab = Resources.Load("EventSystem"); - if (prefab != null) - { - GameObject go = Instantiate(prefab) as GameObject; - go.name = "EventSystem"; - } - } - - eventSystemPresent = true; - } - public override void GetConnectedBlocks(ref List connectedBlocks) { if (targetBlock != null) diff --git a/Assets/Fungus/Narrative/Scripts/Commands/Say.cs b/Assets/Fungus/Narrative/Scripts/Commands/Say.cs index 5f06909d..2cefe526 100644 --- a/Assets/Fungus/Narrative/Scripts/Commands/Say.cs +++ b/Assets/Fungus/Narrative/Scripts/Commands/Say.cs @@ -36,13 +36,10 @@ namespace Fungus [Tooltip("Type this text in the previous dialog box.")] public bool extendPrevious = false; - [Tooltip("Fade in this dialog box.")] - public bool fadeIn = false; + [Tooltip("Fade out the dialog box when writing has finished and not waiting for input.")] + public bool fadeWhenDone = true; - [Tooltip("Fade out this dialog box.")] - public bool fadeOut = false; - - [Tooltip("Wait for player to click before hiding the dialog and continuing. If false then the dialog will display and execution will continue immediately.")] + [Tooltip("Wait for player to click before continuing.")] public bool waitForClick = true; [Tooltip("Sets the active Say dialog with a reference to a Say Dialog object in the scene. All story text will now display using this Say Dialog.")] @@ -78,61 +75,22 @@ namespace Fungus sayDialog.SetCharacter(character, flowchart); sayDialog.SetCharacterImage(portrait); - bool fadingIn = false; - bool movingIn = false; - if (sayDialog.alwaysFadeDialog || fadeIn) - { - sayDialog.FadeInDialog(); - fadingIn = true; - } - if (sayDialog.alwaysMoveDialog) - { - sayDialog.MoveInDialog(); - movingIn = true; - } - if (!fadingIn && !movingIn) - { - sayDialog.ShowDialog(true); - } + sayDialog.gameObject.SetActive(true); string displayText = storyText; foreach (CustomTag ct in CustomTag.activeCustomTags) { - displayText = displayText.Replace(ct.tagStartSymbol,ct.replaceTagStartWith); + displayText = displayText.Replace(ct.tagStartSymbol, ct.replaceTagStartWith); if (ct.tagEndSymbol != "" && ct.replaceTagEndWith != "") { - displayText = displayText.Replace(ct.tagEndSymbol,ct.replaceTagEndWith); + displayText = displayText.Replace(ct.tagEndSymbol, ct.replaceTagEndWith); } } - if (extendPrevious) - { - displayText = "{s=0}" + Dialog.prevStoryText + "{/s}" + displayText; - } - string subbedText = flowchart.SubstituteVariables(displayText); - sayDialog.Say(subbedText, waitForClick, voiceOverClip, delegate { - if (waitForClick) - { - bool fadingOut = false; - bool movingOut = false; - if (sayDialog.alwaysFadeDialog || fadeOut) - { - sayDialog.FadeOutDialog(); - fadingOut = true; - } - if (sayDialog.alwaysMoveDialog) - { - sayDialog.MoveOutDialog(); - movingOut = true; - } - if (!fadingOut && !movingOut) - { - sayDialog.ShowDialog(false); - } - } + sayDialog.Say(subbedText, !extendPrevious, waitForClick, fadeWhenDone, voiceOverClip, delegate { Continue(); }); } diff --git a/Assets/Fungus/Narrative/Scripts/Dialog.cs b/Assets/Fungus/Narrative/Scripts/Dialog.cs deleted file mode 100644 index 3b0a5181..00000000 --- a/Assets/Fungus/Narrative/Scripts/Dialog.cs +++ /dev/null @@ -1,625 +0,0 @@ -using UnityEngine; -using UnityEngine.UI; -using UnityEngine.Events; -using System; -using System.Collections; -using System.Collections.Generic; - -namespace Fungus -{ - - public class Dialog : MonoBehaviour - { - public static Character speakingCharacter; - public static string prevStoryText; - - public float writingSpeed = 60; - public AudioClip writingSound; - [Range(0,1)] - public float writingVolume = 1f; - public bool loopWritingSound = true; - public bool beepPerCharacter = false; - public float slowBeepsAt = 10f; - public float fastBeepsAt = 30f; - public float punctuationPause = 0.25f; - public bool alwaysFadeDialog = false; - public float fadeDuration = 1f; - public LeanTweenType fadeEaseType; - public bool alwaysMoveDialog = false; - public Vector2 startPosition; - protected Vector2 endPosition; - public float moveSpeed = 1000f; - public LeanTweenType moveEaseType; - - [Tooltip("Click anywhere on screen to continue when set to true, or only on dialog when false.")] - public bool clickAnywhere = true; - - public Canvas dialogCanvas; - public Text nameText; - public Text storyText; - public Image characterImage; - public AudioClip characterTypingSound; - - protected float currentSpeed; - protected float currentPunctuationPause; - protected bool boldActive; - protected bool italicActive; - protected bool colorActive; - protected string colorText; - protected float clickCooldownTimer; - - protected bool wasPointerClicked; - - public DialogAudio audioController = new DialogAudio(); - - protected virtual void LateUpdate() - { - wasPointerClicked = false; - - if (clickCooldownTimer > 0f) - { - clickCooldownTimer -= Time.deltaTime; - clickCooldownTimer = Mathf.Max(0, clickCooldownTimer); - } - - if (clickCooldownTimer == 0f && - clickAnywhere && - Input.GetMouseButtonDown(0)) - { - wasPointerClicked = true; - clickCooldownTimer = 0.2f; - } - } - - public virtual void ShowDialog(bool visible) - { - if (dialogCanvas != null) - { - LeanTween.cancel(dialogCanvas.gameObject); - CanvasGroup canvasGroup = dialogCanvas.GetComponent(); - if (canvasGroup != null) - { - canvasGroup.alpha = 1; - } - dialogCanvas.gameObject.SetActive(visible); - } - if (visible) - { - // A new dialog is often shown as the result of a mouse click, so we need - // to make sure the previous click doesn't register on the new dialogue - wasPointerClicked = false; - clickCooldownTimer = 0.2f; - } - } - - public virtual void FadeInDialog() - { - LeanTween.cancel(dialogCanvas.gameObject); - CanvasGroup canvasGroup = dialogCanvas.GetComponent(); - if (canvasGroup != null) - { - canvasGroup.alpha = 0; - } - dialogCanvas.gameObject.SetActive(true); - if (fadeDuration == 0) fadeDuration = float.Epsilon; - LeanTween.value(dialogCanvas.gameObject,0,1,fadeDuration).setEase(fadeEaseType).setOnUpdate( - (float fadeAmount)=>{ - if (canvasGroup != null) - { - canvasGroup.alpha = fadeAmount; - } - } - ).setOnComplete( - ()=>{ - if (canvasGroup != null) - { - canvasGroup.alpha = 1; - } - } - ); - } - - public virtual void MoveInDialog() - { - endPosition = this.transform.position; - float moveDuration = (Vector3.Distance(startPosition,this.transform.position)/moveSpeed); - if (moveSpeed == 0) moveDuration = float.Epsilon; - LeanTween.value(this.gameObject,(Vector2)startPosition,(Vector2)endPosition,moveDuration).setEase(moveEaseType).setOnUpdate( - (Vector3 updatePosition)=>{ - this.transform.position = updatePosition; - } - ).setOnComplete( - ()=>{ - this.transform.position = endPosition; - } - ); - } - - public virtual void FadeOutDialog() - { - CanvasGroup canvasGroup = dialogCanvas.GetComponent(); - LeanTween.cancel(dialogCanvas.gameObject); - if (fadeDuration == 0) fadeDuration = float.Epsilon; - LeanTween.value(dialogCanvas.gameObject,1,0,fadeDuration).setEase(fadeEaseType).setOnUpdate( - (float fadeAmount)=>{ - if (canvasGroup != null) - { - canvasGroup.alpha = fadeAmount; - } - } - ).setOnComplete( - ()=>{ - dialogCanvas.gameObject.SetActive(false); - if (canvasGroup != null) - { - canvasGroup.alpha = 1; - } - } - ); - } - - public virtual void MoveOutDialog() - { - endPosition = this.transform.position; - float moveDuration = (Vector3.Distance(startPosition,this.transform.position)/moveSpeed); - if (moveSpeed == 0) moveDuration = float.Epsilon; - LeanTween.value(this.gameObject,(Vector2)endPosition,(Vector2)startPosition,moveDuration).setEase(moveEaseType).setOnUpdate( - (Vector3 updatePosition)=>{ - this.transform.position = updatePosition; - } - ).setOnComplete( - ()=>{ - this.transform.position = endPosition; - } - ); - } - - public virtual void SetCharacter(Character character, Flowchart flowchart = null) - { - if (character == null) - { - if (characterImage != null) - characterImage.gameObject.SetActive(false); - if (nameText != null) - nameText.text = ""; - characterTypingSound = null; - } - else - { - Character prevSpeakingCharacter = speakingCharacter; - speakingCharacter = character; - - // Dim portraits of non-speaking characters - foreach (Stage s in Stage.activeStages) - { - if (s.dimPortraits) - { - foreach (Character c in s.charactersOnStage) - { - if (prevSpeakingCharacter != speakingCharacter) - { - if (c != speakingCharacter) - { - Portrait.SetDimmed(c, s, true); - } - else - { - Portrait.SetDimmed(c, s, false); - } - } - } - } - } - - string characterName = character.nameText; - - if (characterName == "") - { - // Use game object name as default - characterName = character.name; - } - - if (flowchart != null) - { - characterName = flowchart.SubstituteVariables(characterName); - } - - characterTypingSound = character.soundEffect; - - SetCharacterName(characterName, character.nameColor); - } - } - - public virtual void SetCharacterImage(Sprite image) - { - if (characterImage != null) - { - if (image != null) - { - characterImage.sprite = image; - characterImage.gameObject.SetActive(true); - } - else - { - characterImage.gameObject.SetActive(false); - } - } - } - - public virtual void SetCharacterName(string name, Color color) - { - if (nameText != null) - { - nameText.text = name; - nameText.color = color; - } - } - - protected virtual IEnumerator WriteText(string text, AudioClip voiceOverClip, Action onWritingComplete, Action onExitTag) - { - storyText.text = ""; - - // Parse the story text & tag markup to produce a list of tokens for processing - DialogParser parser = new DialogParser(); - parser.Tokenize(text); - - if (parser.tokens.Count == 0) - { - if (onWritingComplete != null) - { - onWritingComplete(); - } - yield break; - } - - DialogText dialogText = new DialogText(); - dialogText.parentDialog = this; - dialogText.writingSpeed = writingSpeed; - dialogText.punctuationPause = punctuationPause; - dialogText.beepPerCharacter = beepPerCharacter; - dialogText.slowBeepsAt = slowBeepsAt; - dialogText.fastBeepsAt = fastBeepsAt; - - audioController.audioSource = GetComponent(); - audioController.volume = writingVolume; - audioController.loop = loopWritingSound; - if (voiceOverClip != null) - { - audioController.audioClip = voiceOverClip; - } - else if (characterTypingSound != null) - { - audioController.audioClip = characterTypingSound; - } - else if (writingSound != null) - { - audioController.audioClip = writingSound; - } - audioController.Play(); - - foreach (Token token in parser.tokens) - { - switch (token.type) - { - case TokenType.Words: - dialogText.Append(token.param); - break; - - case TokenType.BoldStart: - dialogText.boldActive = true; - break; - - case TokenType.BoldEnd: - dialogText.boldActive = false; - break; - - case TokenType.ItalicStart: - dialogText.italicActive = true; - break; - - case TokenType.ItalicEnd: - dialogText.italicActive = false; - break; - - case TokenType.ColorStart: - dialogText.colorActive = true; - dialogText.colorText = token.param; - break; - - case TokenType.ColorEnd: - dialogText.colorActive = false; - break; - - case TokenType.Wait: - float duration = 1f; - if (!Single.TryParse(token.param, out duration)) - { - duration = 1f; - } - yield return StartCoroutine(WaitForSecondsOrInput(duration)); - break; - - case TokenType.WaitForInputNoClear: - OnWaitForInputTag(true); - yield return StartCoroutine(WaitForInput(null)); - OnWaitForInputTag(false); - break; - - case TokenType.WaitForInputAndClear: - OnWaitForInputTag(true); - yield return StartCoroutine(WaitForInput(null)); - OnWaitForInputTag(false); - currentSpeed = writingSpeed; - dialogText.Clear(); - audioController.Stop(); - break; - - case TokenType.WaitOnPunctuationStart: - float newPunctuationPause = 0f; - if (!Single.TryParse(token.param, out newPunctuationPause)) - { - newPunctuationPause = 0f; - } - dialogText.punctuationPause = newPunctuationPause; - break; - case TokenType.WaitOnPunctuationEnd: - dialogText.punctuationPause = punctuationPause; - break; - - case TokenType.Clear: - dialogText.Clear(); - break; - - case TokenType.SpeedStart: - float newSpeed = 0; - if (!Single.TryParse(token.param, out newSpeed)) - { - newSpeed = 0f; - } - dialogText.writingSpeed = newSpeed; - break; - - case TokenType.SpeedEnd: - dialogText.writingSpeed = writingSpeed; - break; - - case TokenType.Exit: - if (onExitTag != null) - { - prevStoryText = storyText.text; - audioController.Stop(); - onExitTag(); - } - yield break; - - case TokenType.Message: - Flowchart.BroadcastFungusMessage(token.param); - break; - case TokenType.VerticalPunch: - float vPunchIntensity = 0; - if (!Single.TryParse(token.param, out vPunchIntensity)) - { - vPunchIntensity = 0f; - } - VerticalPunch(vPunchIntensity); - break; - case TokenType.HorizontalPunch: - float hPunchIntensity = 0; - if (!Single.TryParse(token.param, out hPunchIntensity)) - { - hPunchIntensity = 0f; - } - HorizontalPunch(hPunchIntensity); - break; - case TokenType.Shake: - float shakeIntensity = 0; - if (!Single.TryParse(token.param, out shakeIntensity)) - { - shakeIntensity = 0f; - } - Shake(shakeIntensity); - break; - case TokenType.Shiver: - float shiverIntensity = 0; - if (!Single.TryParse(token.param, out shiverIntensity)) - { - shiverIntensity = 0f; - } - Shiver(shiverIntensity); - break; - case TokenType.Flash: - float flashDuration = 0; - if (!Single.TryParse(token.param, out flashDuration)) - { - flashDuration = 0f; - } - Flash(flashDuration); - break; - case TokenType.Audio: - { - AudioSource audioSource = FindAudio(token.param); - if (audioSource != null) - { - audioSource.PlayOneShot(audioSource.clip); - } - } - break; - case TokenType.AudioLoop: - { - AudioSource audioSource = FindAudio(token.param); - if (audioSource != null) - { - audioSource.Play(); - audioSource.loop = true; - } - } - break; - case TokenType.AudioPause: - { - AudioSource audioSource = FindAudio(token.param); - if (audioSource != null) - { - audioSource.Pause (); - } - } - break; - case TokenType.AudioStop: - { - AudioSource audioSource = FindAudio(token.param); - if (audioSource != null) - { - audioSource.Pause (); - } - } - break; - } - - // Update text writing - while (!dialogText.UpdateGlyphs(wasPointerClicked)) - { - storyText.text = dialogText.GetDialogText(); - yield return null; - } - storyText.text = dialogText.GetDialogText(); - wasPointerClicked = false; - - // Now process next token - } - - prevStoryText = storyText.text; - - audioController.Stop(); - - if (onWritingComplete != null) - { - onWritingComplete(); - } - - yield break; - } - - protected virtual AudioSource FindAudio(string audioObjectName) - { - GameObject go = GameObject.Find(audioObjectName); - if (go == null) - { - return null; - } - - return go.GetComponent(); - } - - protected virtual void VerticalPunch(float intensity) - { - iTween.ShakePosition(this.gameObject, new Vector3(0f, intensity, 0f), 0.5f); - } - - protected virtual void HorizontalPunch(float intensity) - { - iTween.ShakePosition(this.gameObject, new Vector3(intensity, 0f, 0f), 0.5f); - } - - protected virtual void Shake(float intensity) - { - iTween.ShakePosition(this.gameObject, new Vector3(intensity, intensity, 0f), 0.5f); - } - - protected virtual void Shiver(float intensity) - { - iTween.ShakePosition(this.gameObject, new Vector3(intensity, intensity, 0f), 1f); - } - - protected virtual void Flash(float duration) - { - CameraController cameraController = CameraController.GetInstance(); - cameraController.screenFadeTexture = CameraController.CreateColorTexture(new Color(1f,1f,1f,1f), 32, 32); - cameraController.Fade(1f, duration, delegate { - cameraController.screenFadeTexture = CameraController.CreateColorTexture(new Color(1f,1f,1f,1f), 32, 32); - cameraController.Fade(0f, duration, null); - }); - } - - public virtual void Clear() - { - ClearStoryText(); - - // Reset control variables - currentSpeed = 60; - currentPunctuationPause = 0.25f; - boldActive = false; - italicActive = false; - colorActive = false; - colorText = ""; - - // Kill any active write coroutine - StopAllCoroutines(); - } - - protected virtual void ClearStoryText() - { - if (storyText != null) - { - storyText.text = ""; - } - } - - protected virtual IEnumerator WaitForInput(Action onInput) - { - while (!wasPointerClicked) - { - yield return null; - } - wasPointerClicked = false; - - if (onInput != null) - { - // Stop all tweening portraits - foreach( Character c in Character.activeCharacters ) - { - if (c.state.portraitImage != null) - { - if (LeanTween.isTweening(c.state.portraitImage.gameObject)) - { - LeanTween.cancel(c.state.portraitImage.gameObject, true); - - Portrait.SetRectTransform(c.state.portraitImage.rectTransform, c.state.position); - if (c.state.dimmed == true) - { - c.state.portraitImage.color = new Color(0.5f,0.5f,0.5f,1f); - } - else - { - c.state.portraitImage.color = Color.white; - } - } - } - } - onInput(); - } - } - - protected virtual IEnumerator WaitForSecondsOrInput(float duration) - { - float timer = duration; - while (timer > 0 && !wasPointerClicked) - { - timer -= Time.deltaTime; - yield return null; - } - - wasPointerClicked = false; - } - - protected virtual void OnWaitForInputTag(bool waiting) - {} - - public virtual void OnPointerClick() - { - if (clickCooldownTimer == 0f) - { - wasPointerClicked = true; - } - } - } - -} diff --git a/Assets/Fungus/Narrative/Scripts/DialogAudio.cs b/Assets/Fungus/Narrative/Scripts/DialogAudio.cs deleted file mode 100644 index 89abcb93..00000000 --- a/Assets/Fungus/Narrative/Scripts/DialogAudio.cs +++ /dev/null @@ -1,84 +0,0 @@ -using UnityEngine; -using System.Collections; - -namespace Fungus -{ - - /* - * Helper class to manage play, pause & stop operations on voiceover and writing sound effects - */ - public class DialogAudio - { - public AudioSource audioSource; - public AudioClip audioClip; - public float volume; - public bool loop; - - public virtual void Play() - { - if (audioSource == null || - audioClip == null) - { - return; - } - - audioSource.clip = audioClip; - audioSource.loop = loop; - - // Fade in the audio at start - LeanTween.value(audioSource.gameObject, 0f, volume, 0.1f).setOnUpdate( (value) => { - audioSource.volume = value; - }); - - audioSource.Play(); - } - - public virtual void Pause() - { - if (audioSource == null) - { - return; - } - - // Fade out the audio - // There's an audible click if you call audioSource.Pause() so instead just - // drop the volume to 0. - LeanTween.value(audioSource.gameObject, volume, 0f, 0.1f).setOnUpdate( (value) => { - audioSource.volume = value; - }); - } - - public virtual void Stop() - { - if (audioSource == null) - { - return; - } - - // Fade out the audio - LeanTween.value(audioSource.gameObject, audioSource.volume, 0f, 0.1f).setOnUpdate( (value) => { - audioSource.volume = value; - }).setOnComplete( () => { - // There's an audible click if you call audioSource.Stop() so instead we just switch off - // looping and let the audio stop automatically at the end of the clip - audioSource.loop = false; - }); - } - - public virtual void Resume() - { - if (audioSource == null) - { - return; - } - - audioSource.volume = volume; - if (!audioSource.isPlaying) - { - audioSource.loop = loop; - audioSource.Play(); - } - } - } - -} \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/DialogInput.cs b/Assets/Fungus/Narrative/Scripts/DialogInput.cs new file mode 100644 index 00000000..e29c2eef --- /dev/null +++ b/Assets/Fungus/Narrative/Scripts/DialogInput.cs @@ -0,0 +1,168 @@ +using UnityEngine; +using UnityEngine.EventSystems; +using System.Collections; + +namespace Fungus +{ + public interface IDialogInputListener + { + void OnNextLineEvent(); + } + + public class DialogInput : MonoBehaviour + { + public enum ClickMode + { + Disabled, // Clicking disabled + ClickAnywhere, // Click anywhere on screen to advance + ClickOnDialog, // Click anywhere on Say Dialog to advance + ClickOnButton // Click on continue button to advance + } + + public enum KeyPressMode + { + Disabled, // Key pressing disabled + AnyKey, // Press any key to continue + KeyPressed // Press one of specified keys to advance + } + + [Tooltip("Click to advance story")] + public ClickMode clickMode; + + [Tooltip("Press a key to advance story")] + public KeyPressMode keyPressMode; + + [Tooltip("Hold down shift while pressing a key to advance though story instantly")] + public bool shiftKeyEnabled = true; + + [Tooltip("Delay between consecutive clicks. Useful to prevent accidentally clicking through story.")] + public float nextClickDelay = 0f; + + [Tooltip("Keycodes to check for key presses")] + public KeyCode[] keyList; + + protected bool dialogClickedFlag; + + protected bool nextLineInputFlag; + + protected float ignoreClickTimer; + + /** + * Trigger next line input event from script. + */ + public void SetNextLineFlag() + { + nextLineInputFlag = true; + } + + /** + * Set the dialog clicked flag (usually from an Event Trigger component in the dialog UI) + */ + public void SetDialogClickedFlag() + { + // Ignore repeat clicks for a short time to prevent accidentally clicking through the character dialogue + if (ignoreClickTimer > 0f) + { + return; + } + ignoreClickTimer = nextClickDelay; + + // Only applies in Click On Dialog mode + if (clickMode == ClickMode.ClickOnDialog) + { + dialogClickedFlag = true; + } + } + + public void SetButtonClickedFlag() + { + // Only applies if clicking is not disabled + if (clickMode != ClickMode.Disabled) + { + SetNextLineFlag(); + } + } + + protected virtual void Update() + { + switch (keyPressMode) + { + case KeyPressMode.Disabled: + break; + case KeyPressMode.AnyKey: + if (Input.anyKeyDown) + { + SetNextLineFlag(); + } + break; + case KeyPressMode.KeyPressed: + foreach (KeyCode keyCode in keyList) + { + if (shiftKeyEnabled && + (Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.RightShift))) + { + if (Input.GetKey(keyCode)) + { + SetNextLineFlag(); + } + } + else + { + if (Input.GetKeyDown(keyCode)) + { + SetNextLineFlag(); + } + } + } + break; + } + + switch (clickMode) + { + case ClickMode.Disabled: + break; + case ClickMode.ClickAnywhere: + if (Input.GetMouseButtonDown(0)) + { + SetNextLineFlag(); + } + break; + case ClickMode.ClickOnDialog: + if (dialogClickedFlag) + { + SetNextLineFlag(); + dialogClickedFlag = false; + } + break; + } + + if (ignoreClickTimer > 0f) + { + ignoreClickTimer = Mathf.Max (ignoreClickTimer - Time.deltaTime, 0f); + } + + // Ignore input events if a Menu is being displayed + if (MenuDialog.activeMenuDialog != null) + { + if (MenuDialog.activeMenuDialog.gameObject.activeSelf) + { + dialogClickedFlag = false; + nextLineInputFlag = false; + } + } + + // Tell any listeners to move to the next line + if (nextLineInputFlag) + { + IDialogInputListener[] inputListeners = gameObject.GetComponentsInChildren(); + foreach (IDialogInputListener inputListener in inputListeners) + { + inputListener.OnNextLineEvent(); + } + nextLineInputFlag = false; + } + } + } + +} + \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/Dialog.cs.meta b/Assets/Fungus/Narrative/Scripts/DialogInput.cs.meta similarity index 52% rename from Assets/Fungus/Narrative/Scripts/Dialog.cs.meta rename to Assets/Fungus/Narrative/Scripts/DialogInput.cs.meta index 5a89acf4..be1ed200 100644 --- a/Assets/Fungus/Narrative/Scripts/Dialog.cs.meta +++ b/Assets/Fungus/Narrative/Scripts/DialogInput.cs.meta @@ -1,8 +1,12 @@ fileFormatVersion: 2 -guid: b7e8f397d6557484f91f9992f702cff5 +guid: 43b85556abd314f3f870c18c013fdcef +timeCreated: 1439996546 +licenseType: Free MonoImporter: serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/Narrative/Scripts/DialogParser.cs b/Assets/Fungus/Narrative/Scripts/DialogParser.cs deleted file mode 100644 index 961600f0..00000000 --- a/Assets/Fungus/Narrative/Scripts/DialogParser.cs +++ /dev/null @@ -1,250 +0,0 @@ -using UnityEngine; -using System.Collections; -using System.Collections.Generic; -using System.Text.RegularExpressions; - -namespace Fungus -{ - public enum TokenType - { - Words, // A string of words - BoldStart, // b - BoldEnd, // /b - ItalicStart, // i - ItalicEnd, // /i - ColorStart, // color=red - ColorEnd, // /color - Wait, // w, w=0.5 - WaitForInputNoClear, // wi - WaitForInputAndClear, // wc - WaitOnPunctuationStart, // wp, wp=0.5 - WaitOnPunctuationEnd, // /wp - Clear, // c - SpeedStart, // s, s=60 - SpeedEnd, // /s - Exit, // x - Message, // m=MessageName - VerticalPunch, // {vpunch=0.5} - HorizontalPunch, // {hpunch=0.5} - Shake, // {shake=0.5} - Shiver, // {shiver=0.5} - Flash, // {flash=0.5} - Audio, // {audio=Sound} - AudioLoop, // {audioloop=Sound} - AudioPause, // {audiopause=Sound} - AudioStop // {audiostop=Sound} - } - - public class Token - { - public TokenType type = TokenType.Words; - public string param = ""; - } - - public class DialogParser - { - public List tokens = new List(); - - public virtual void Tokenize(string storyText) - { - tokens.Clear(); - - string pattern = @"\{.*?\}"; - Regex myRegex = new Regex(pattern); - - Match m = myRegex.Match(storyText); // m is the first match - - int position = 0; - while (m.Success) - { - // Get bit leading up to tag - string preText = storyText.Substring(position, m.Index - position); - string tagText = m.Value; - - AddWordsToken(tokens, preText); - AddTagToken(tokens, tagText); - - position = m.Index + tagText.Length; - m = m.NextMatch(); - } - - if (position < storyText.Length) - { - string postText = storyText.Substring(position, storyText.Length - position); - if (postText.Length > 0) - { - AddWordsToken(tokens, postText); - } - } - - // Remove all leading whitespace & newlines after a {c} or {wc} tag - // These characters are usually added for legibility when editing, but are not - // desireable when viewing the text in game. - bool trimLeading = false; - foreach (Token token in tokens) - { - if (trimLeading && - token.type == TokenType.Words) - { - token.param.TrimStart(' ', '\t', '\r', '\n'); - } - - if (token.type == TokenType.Clear || - token.type == TokenType.WaitForInputAndClear) - { - trimLeading = true; - } - else - { - trimLeading = false; - } - } - } - - protected static void AddWordsToken(List tokenList, string words) - { - Token token = new Token(); - token.type = TokenType.Words; - token.param = words; - tokenList.Add(token); - } - - protected virtual void AddTagToken(List tokenList, string tagText) - { - if (tagText.Length < 3 || - tagText.Substring(0,1) != "{" || - tagText.Substring(tagText.Length - 1,1) != "}") - { - return; - } - - string tag = tagText.Substring(1, tagText.Length - 2); - - TokenType type = TokenType.Words; - string paramText = ""; - - if (tag == "b") - { - type = TokenType.BoldStart; - } - else if (tag == "/b") - { - type = TokenType.BoldEnd; - } - else if (tag == "i") - { - type = TokenType.ItalicStart; - } - else if (tag == "/i") - { - type = TokenType.ItalicEnd; - } - else if (tag.StartsWith("color=")) - { - type = TokenType.ColorStart; - paramText = tag.Substring(6, tag.Length - 6); - } - else if (tag == "/color") - { - type = TokenType.ColorEnd; - } - else if (tag == "wi") - { - type = TokenType.WaitForInputNoClear; - } - if (tag == "wc") - { - type = TokenType.WaitForInputAndClear; - } - else if (tag.StartsWith("wp=")) - { - type = TokenType.WaitOnPunctuationStart; - paramText = tag.Substring(3, tag.Length - 3); - } - else if (tag == "wp") - { - type = TokenType.WaitOnPunctuationStart; - } - else if (tag == "/wp") - { - type = TokenType.WaitOnPunctuationEnd; - } - else if (tag.StartsWith("w=")) - { - type = TokenType.Wait; - paramText = tag.Substring(2, tag.Length - 2); - } - else if (tag == "w") - { - type = TokenType.Wait; - } - else if (tag == "c") - { - type = TokenType.Clear; - } - else if (tag.StartsWith("s=")) - { - type = TokenType.SpeedStart; - paramText = tag.Substring(2, tag.Length - 2); - } - else if (tag == "s") - { - type = TokenType.SpeedStart; - } - else if (tag == "/s") - { - type = TokenType.SpeedEnd; - } - else if (tag == "x") - { - type = TokenType.Exit; - } - else if (tag.StartsWith("m=")) - { - type = TokenType.Message; - paramText = tag.Substring(2, tag.Length - 2); - } - else if (tag.StartsWith("vpunch=")) - { - type = TokenType.VerticalPunch; - paramText = tag.Substring(7, tag.Length - 7); - } - else if (tag.StartsWith("hpunch=")) - { - type = TokenType.HorizontalPunch; - paramText = tag.Substring(7, tag.Length - 7); - } - else if (tag.StartsWith("shake=")) - { - type = TokenType.Shake; - paramText = tag.Substring(6, tag.Length - 6); - } - else if (tag.StartsWith("shiver=")) - { - type = TokenType.Shiver; - paramText = tag.Substring(7, tag.Length - 7); - } - else if (tag.StartsWith("flash=")) - { - type = TokenType.Flash; - paramText = tag.Substring(6, tag.Length - 6); - } - else if (tag.StartsWith("audio=")) - { - type = TokenType.Audio; - paramText = tag.Substring(6, tag.Length - 6); - } - else if (tag.StartsWith("audioloop=")) - { - type = TokenType.AudioLoop; - paramText = tag.Substring(10, tag.Length - 10); - } - Token token = new Token(); - token.type = type; - token.param = paramText.Trim(); - - tokenList.Add(token); - } - } - -} \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/DialogText.cs b/Assets/Fungus/Narrative/Scripts/DialogText.cs deleted file mode 100644 index cd8fc34b..00000000 --- a/Assets/Fungus/Narrative/Scripts/DialogText.cs +++ /dev/null @@ -1,222 +0,0 @@ -using UnityEngine; -using System.Collections; -using System.Collections.Generic; - -namespace Fungus -{ - public class Glyph - { - public float hideTimer; - public string character; - public bool boldActive; - public bool italicActive; - public bool colorActive; - public string colorText; - public bool hasPunctuationPause; - } - - public class DialogText - { - protected List glyphs = new List(); - protected bool oneBeep = false; - - public bool boldActive { get; set; } - public bool italicActive { get; set; } - public bool colorActive { get; set; } - public string colorText { get; set; } - public float writingSpeed { get; set; } - public float punctuationPause { get; set; } - public float slowBeepsAt { get; set; } - public float fastBeepsAt { get; set; } - public bool beepPerCharacter { get; set; } - public Dialog parentDialog { get; set; } - - public virtual void Clear() - { - glyphs.Clear(); - } - - public virtual void Append(string words) - { - if (beepPerCharacter && (writingSpeed <= slowBeepsAt || writingSpeed >= fastBeepsAt)) // beeps match character speed at these speeds - { - oneBeep = true; - } - else - { - oneBeep = false; - } - - float hideTimer = 0f; - if (writingSpeed > 0f) - { - hideTimer = 1f / writingSpeed; - } - - bool doPunctuationPause = false; - for (int i = 0; i < words.Length; ++i) - { - char c = words[i]; - - // Ignore leading newlines - if (glyphs.Count == 0 && c == '\n') - { - continue; - } - - Glyph glyph = new Glyph(); - glyph.hideTimer = hideTimer; - if (doPunctuationPause && writingSpeed != 0) - { - glyph.hasPunctuationPause = true; - glyph.hideTimer += punctuationPause; - doPunctuationPause = false; - } - - glyph.character = c.ToString(); - glyph.boldActive = boldActive; - glyph.italicActive = italicActive; - glyph.colorActive = colorActive; - glyph.colorText = colorText; - glyphs.Add(glyph); - - if (IsPunctuation(c)) // If punctuation, do punctuation pause - { - doPunctuationPause = true; - } - - // Special case: pause just before open parentheses - if (i < words.Length - 2) - { - if (words[i + 1] == '(') - { - doPunctuationPause = true; - } - } - } - } - - protected virtual bool IsPunctuation(char character) - { - return character == '.' || - character == '?' || - character == '!' || - character == ',' || - character == ':' || - character == ';' || - character == ')'; - } - - /** - * Returns true when all glyphs are visible. - */ - public virtual bool UpdateGlyphs(bool instantComplete) - { - AudioSource typingAudio = parentDialog.GetComponent(); - - float elapsedTime = Time.deltaTime; - - foreach (Glyph glyph in glyphs) - { - if (instantComplete) - { - glyph.hideTimer = 0f; - continue; - } - - if (glyph.hideTimer > 0f) - { - // Don't pause audio on punctuation pause as it's very noticeable and distracting - if (glyph.hasPunctuationPause) - { - parentDialog.audioController.Pause(); - } - - bool finished = false; - if (elapsedTime > glyph.hideTimer) - { - elapsedTime -= glyph.hideTimer; - glyph.hideTimer = 0f; - // Some elapsed time left over, so carry on to next glyph - if ((oneBeep && typingAudio != null)) - { - if (!typingAudio.isPlaying && - (glyph.character != " " && glyph.character != "\t" && glyph.character != "\n" ) ) - { - typingAudio.PlayOneShot(typingAudio.clip); - } - } - } - else - { - glyph.hideTimer -= elapsedTime; - glyph.hideTimer = Mathf.Max(glyph.hideTimer, 0f); - finished = true; - } - - // Check if we need to restore audio after a punctuation pause - if (glyph.hideTimer == 0f) - { - parentDialog.audioController.Resume(); - } - - if (finished) - { - return false; // Glyph is still hidden - } - } - } - - parentDialog.audioController.Stop(); - - return true; - } - - public virtual string GetDialogText() - { - string outputText = ""; - - bool hideGlyphs = false; - foreach (Glyph glyph in glyphs) - { - // Wrap each individual character in rich text markup tags (if required) - string start = ""; - string end = ""; - if (glyph.boldActive) - { - start += ""; - end += ""; - } - if (glyph.italicActive) - { - start += ""; - end = "" + end; // Have to nest tags correctly - } - - if (!hideGlyphs && - glyph.hideTimer > 0f) - { - hideGlyphs = true; - outputText += ""; - } - - if (!hideGlyphs && - glyph.colorActive) - { - start += ""; - end += ""; - } - - outputText += start + glyph.character + end; - } - - if (hideGlyphs) - { - outputText += ""; - } - - return outputText; - } - } - -} \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/MenuDialog.cs b/Assets/Fungus/Narrative/Scripts/MenuDialog.cs index 36528e84..72845632 100644 --- a/Assets/Fungus/Narrative/Scripts/MenuDialog.cs +++ b/Assets/Fungus/Narrative/Scripts/MenuDialog.cs @@ -144,22 +144,7 @@ namespace Fungus SayDialog sayDialog = SayDialog.GetSayDialog(); if (sayDialog != null) { - bool fadingOut = false; - bool movingOut = false; - if (sayDialog.alwaysFadeDialog) - { - sayDialog.FadeOutDialog(); - fadingOut = true; - } - if (sayDialog.alwaysMoveDialog) - { - sayDialog.MoveOutDialog(); - movingOut = true; - } - if (!fadingOut && !movingOut) - { - sayDialog.ShowDialog(false); - } + sayDialog.FadeOut(); } } diff --git a/Assets/Fungus/Narrative/Scripts/SayDialog.cs b/Assets/Fungus/Narrative/Scripts/SayDialog.cs index 4161aee9..dfdb6316 100644 --- a/Assets/Fungus/Narrative/Scripts/SayDialog.cs +++ b/Assets/Fungus/Narrative/Scripts/SayDialog.cs @@ -1,4 +1,4 @@ -using UnityEngine; +using UnityEngine; using UnityEngine.UI; using System; using System.Collections; @@ -7,13 +7,29 @@ using System.Collections.Generic; namespace Fungus { - public class SayDialog : Dialog + public class SayDialog : MonoBehaviour { // Currently active Say Dialog used to display Say text public static SayDialog activeSayDialog; - public Image continueImage; - public AudioClip continueSound; + // Most recent speaking character + public static Character speakingCharacter; + + public float fadeDuration = 0.25f; + + public Button continueButton; + public Canvas dialogCanvas; + public Text nameText; + public Text storyText; + public Image characterImage; + + protected WriterAudio writerAudio; + protected Writer writer; + protected CanvasGroup canvasGroup; + + protected bool fadeWhenDone = true; + protected float targetAlpha = 0f; + protected float fadeCoolDownTimer = 0f; public static SayDialog GetSayDialog() { @@ -43,67 +59,255 @@ namespace Fungus return activeSayDialog; } - public virtual void Say(string text, bool waitForInput, AudioClip voiceOverClip, Action onComplete) + protected Writer GetWriter() { - Clear(); + if (writer != null) + { + return writer; + } - Action onWritingComplete = delegate { - if (waitForInput) - { - ShowContinueImage(true); - StartCoroutine(WaitForInput(delegate { + writer = GetComponent(); + if (writer == null) + { + writer = gameObject.AddComponent(); + } - if (continueSound != null) - { - AudioSource.PlayClipAtPoint(continueSound, Vector3.zero); - } + return writer; + } - Clear(); - audioController.Stop(); + protected CanvasGroup GetCanvasGroup() + { + if (canvasGroup != null) + { + return canvasGroup; + } + + canvasGroup = GetComponent(); + if (canvasGroup == null) + { + canvasGroup = gameObject.AddComponent(); + } + + return canvasGroup; + } - if (onComplete != null) - { - onComplete(); - } + protected WriterAudio GetWriterAudio() + { + if (writerAudio != null) + { + return writerAudio; + } + + writerAudio = GetComponent(); + if (writerAudio == null) + { + writerAudio = gameObject.AddComponent(); + } + + return writerAudio; + } - })); + protected void Start() + { + // Dialog always starts invisible, will be faded in when writing starts + GetCanvasGroup().alpha = 0f; + } + + public virtual void Say(string text, bool clearPrevious, bool waitForInput, bool fadeWhenDone, AudioClip audioClip, Action onComplete) + { + this.fadeWhenDone = fadeWhenDone; + + // Look for a character sound effect if no voice over clip is specified + AudioClip clip = audioClip; + if (speakingCharacter != null && + clip == null) + { + clip = speakingCharacter.soundEffect; + } + + GetWriter().Write(text, clearPrevious, waitForInput, clip, onComplete); + } + + protected virtual void LateUpdate() + { + UpdateAlpha(); + + if (continueButton != null) + { + continueButton.gameObject.SetActive( GetWriter().isWaitingForInput ); + } + } + + /** + * Tell dialog to fade out if it's finished writing. + */ + public virtual void FadeOut() + { + fadeWhenDone = true; + } + + /** + * Stop a Say Dialog while its writing text. + */ + public virtual void Stop() + { + fadeWhenDone = true; + GetWriter().Stop(); + } + + protected virtual void UpdateAlpha() + { + if (GetWriter().isWriting) + { + targetAlpha = 1f; + fadeCoolDownTimer = 0.1f; + } + else if (fadeWhenDone && fadeCoolDownTimer == 0f) + { + targetAlpha = 0f; + } + else + { + // Add a short delay before we start fading in case there's another Say command in the next frame or two. + // This avoids a noticeable flicker between consecutive Say commands. + fadeCoolDownTimer = Mathf.Max(0f, fadeCoolDownTimer - Time.deltaTime); + } + + CanvasGroup canvasGroup = GetCanvasGroup(); + float fadeDuration = GetSayDialog().fadeDuration; + if (fadeDuration <= 0f) + { + canvasGroup.alpha = targetAlpha; + } + else + { + float delta = (1f / fadeDuration) * Time.deltaTime; + float alpha = Mathf.MoveTowards(canvasGroup.alpha, targetAlpha, delta); + canvasGroup.alpha = alpha; + } + } + + public virtual void SetCharacter(Character character, Flowchart flowchart = null) + { + if (character == null) + { + if (characterImage != null) + { + characterImage.gameObject.SetActive(false); } - else + if (nameText != null) + { + nameText.text = ""; + } + speakingCharacter = null; + } + else + { + Character prevSpeakingCharacter = speakingCharacter; + speakingCharacter = character; + + // Dim portraits of non-speaking characters + foreach (Stage s in Stage.activeStages) { - if (onComplete != null) + if (s.dimPortraits) { - onComplete(); + foreach (Character c in s.charactersOnStage) + { + if (prevSpeakingCharacter != speakingCharacter) + { + if (c != speakingCharacter) + { + Portrait.SetDimmed(c, s, true); + } + else + { + Portrait.SetDimmed(c, s, false); + } + } + } } } - }; - - Action onExitTag = delegate { - Clear(); - if (onComplete != null) + + string characterName = character.nameText; + + if (characterName == "") { - onComplete(); + // Use game object name as default + characterName = character.name; } - }; - - StartCoroutine(WriteText(text, voiceOverClip, onWritingComplete, onExitTag)); + + if (flowchart != null) + { + characterName = flowchart.SubstituteVariables(characterName); + } + + SetCharacterName(characterName, character.nameColor); + } } - - public override void Clear() + + public virtual void SetCharacterImage(Sprite image) { - base.Clear(); - ShowContinueImage(false); + if (characterImage != null) + { + if (image != null) + { + characterImage.sprite = image; + characterImage.gameObject.SetActive(true); + } + else + { + characterImage.gameObject.SetActive(false); + } + } } - - protected override void OnWaitForInputTag(bool waiting) + + public virtual void SetCharacterName(string name, Color color) { - ShowContinueImage(waiting); + if (nameText != null) + { + nameText.text = name; + nameText.color = color; + } } - - protected virtual void ShowContinueImage(bool visible) + + public virtual void Clear() { - if (continueImage != null) + ClearStoryText(); + + // Kill any active write coroutine + StopAllCoroutines(); + } + + protected virtual void ClearStoryText() + { + if (storyText != null) { - continueImage.enabled = visible; + storyText.text = ""; + } + } + + public static void StopPortraitTweens() + { + // Stop all tweening portraits + foreach( Character c in Character.activeCharacters ) + { + if (c.state.portraitImage != null) + { + if (LeanTween.isTweening(c.state.portraitImage.gameObject)) + { + LeanTween.cancel(c.state.portraitImage.gameObject, true); + + Portrait.SetRectTransform(c.state.portraitImage.rectTransform, c.state.position); + if (c.state.dimmed == true) + { + c.state.portraitImage.color = new Color(0.5f, 0.5f, 0.5f, 1f); + } + else + { + c.state.portraitImage.color = Color.white; + } + } + } } } } diff --git a/Assets/Fungus/UI/Editor/WriteEditor.cs b/Assets/Fungus/UI/Editor/WriteEditor.cs index 89a8d901..d5b395fc 100644 --- a/Assets/Fungus/UI/Editor/WriteEditor.cs +++ b/Assets/Fungus/UI/Editor/WriteEditor.cs @@ -3,7 +3,6 @@ using UnityEditorInternal; using UnityEngine; using System.Collections; using System.Collections.Generic; -using Rotorz.ReorderableList; namespace Fungus { diff --git a/Assets/Fungus/UI/Editor/WriterAudioEditor.cs b/Assets/Fungus/UI/Editor/WriterAudioEditor.cs new file mode 100644 index 00000000..a790c824 --- /dev/null +++ b/Assets/Fungus/UI/Editor/WriterAudioEditor.cs @@ -0,0 +1,57 @@ +using UnityEditor; +using UnityEditorInternal; +using UnityEngine; +using System.Collections; +using System.Collections.Generic; +using Rotorz.ReorderableList; + +namespace Fungus +{ + + [CustomEditor (typeof(WriterAudio))] + public class WriterAudioEditor : Editor + { + protected SerializedProperty volumeProp; + protected SerializedProperty loopProp; + protected SerializedProperty targetAudioSourceProp; + protected SerializedProperty audioModeProp; + protected SerializedProperty beepSoundsProp; + protected SerializedProperty soundEffectProp; + protected SerializedProperty inputSoundProp; + + protected virtual void OnEnable() + { + volumeProp = serializedObject.FindProperty("volume"); + loopProp = serializedObject.FindProperty("loop"); + targetAudioSourceProp = serializedObject.FindProperty("targetAudioSource"); + inputSoundProp = serializedObject.FindProperty("inputSound"); + audioModeProp = serializedObject.FindProperty("audioMode"); + beepSoundsProp = serializedObject.FindProperty("beepSounds"); + soundEffectProp = serializedObject.FindProperty("soundEffect"); + } + + public override void OnInspectorGUI() + { + serializedObject.Update(); + + EditorGUILayout.PropertyField(volumeProp); + EditorGUILayout.PropertyField(loopProp); + EditorGUILayout.PropertyField(targetAudioSourceProp); + EditorGUILayout.PropertyField(inputSoundProp); + + EditorGUILayout.PropertyField(audioModeProp); + if ((WriterAudio.AudioMode)audioModeProp.enumValueIndex == WriterAudio.AudioMode.Beeps) + { + ReorderableListGUI.Title(new GUIContent("Beep Sounds", "A list of beep sounds to play at random")); + ReorderableListGUI.ListField(beepSoundsProp); + } + else + { + EditorGUILayout.PropertyField(soundEffectProp); + } + + serializedObject.ApplyModifiedProperties(); + } + } + +} \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/DialogText.cs.meta b/Assets/Fungus/UI/Editor/WriterAudioEditor.cs.meta similarity index 52% rename from Assets/Fungus/Narrative/Scripts/DialogText.cs.meta rename to Assets/Fungus/UI/Editor/WriterAudioEditor.cs.meta index 6c3f889d..bbbfed9f 100644 --- a/Assets/Fungus/Narrative/Scripts/DialogText.cs.meta +++ b/Assets/Fungus/UI/Editor/WriterAudioEditor.cs.meta @@ -1,8 +1,12 @@ fileFormatVersion: 2 -guid: 4aada7218611f4257bddea1cd4ab8fcf +guid: f07068d2254394c5d9367a7b738d8c86 +timeCreated: 1440497180 +licenseType: Free MonoImporter: serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fungus/UI/Scripts/Commands/Write.cs b/Assets/Fungus/UI/Scripts/Commands/Write.cs index 122d45e3..e88d1c63 100644 --- a/Assets/Fungus/UI/Scripts/Commands/Write.cs +++ b/Assets/Fungus/UI/Scripts/Commands/Write.cs @@ -22,8 +22,10 @@ namespace Fungus [Tooltip("Notes about this story text for other authors, localization, etc.")] public string description; + [Tooltip("Clear existing text before writing new text")] public bool clearText = true; + [Tooltip("Wait until this command finishes before executing the next command")] public bool waitUntilFinished = true; public enum TextColor @@ -73,12 +75,14 @@ namespace Fungus if (!waitUntilFinished) { - writer.Write(newText, clearText); + writer.Write(newText, clearText, false, null, null); Continue(); } else { - writer.Write(newText, clearText, () => { Continue (); } ); + writer.Write(newText, clearText, false, null, + () => { Continue (); } + ); } } diff --git a/Assets/Fungus/UI/Scripts/Writer.cs b/Assets/Fungus/UI/Scripts/Writer.cs index 316dd81b..5b8f6751 100644 --- a/Assets/Fungus/UI/Scripts/Writer.cs +++ b/Assets/Fungus/UI/Scripts/Writer.cs @@ -7,13 +7,56 @@ using System; namespace Fungus { - public class Writer : MonoBehaviour + /** + * Implement this interface to be notified about Writer events + */ + public interface IWriterListener { + // Called when a user input event (e.g. a click) has been handled by the Writer + void OnInput(); + + // Called when the Writer starts writing new text + // An optional audioClip sound effect can be supplied (e.g. for voiceover) + void OnStart(AudioClip audioClip); + + // Called when the Writer has paused writing text (e.g. on a {wi} tag) + void OnPause(); + + // Called when the Writer has resumed writing text + void OnResume(); + + // Called when the Writer has finshed writing text + void OnEnd(); + + // Called every time the Writer writes a new character glyph + void OnGlyph(); + } + + public class Writer : MonoBehaviour, IDialogInputListener + { + [Tooltip("Gameobject containing a Text, Inout Field or Text Mesh object to write to")] + public GameObject targetTextObject; + + [Tooltip("Writing characters per second")] public float writingSpeed = 60; + + [Tooltip("Pause duration for punctuation characters")] public float punctuationPause = 0.25f; + + [Tooltip("Color of text that has not been revealed yet")] public Color hiddenTextColor = new Color(1,1,1,0); + + [Tooltip("Write one word at a time rather one character at a time")] public bool writeWholeWords = false; - + + // This property is true when the writer is waiting for user input to continue + [System.NonSerialized] + public bool isWaitingForInput; + + // This property is true when the writer is writing text or waiting (i.e. still processing tokens) + [System.NonSerialized] + public bool isWriting; + protected float currentWritingSpeed; protected float currentPunctuationPause; protected Text textUI; @@ -24,7 +67,10 @@ namespace Fungus protected bool colorActive = false; protected string colorText = ""; protected bool inputFlag; - + protected bool exitFlag; + + protected List writerListeners = new List(); + public string text { get @@ -63,9 +109,25 @@ namespace Fungus protected virtual void Awake() { - textUI = GetComponent(); - inputField = GetComponent(); - textMesh = GetComponent(); + GameObject go = targetTextObject; + if (go == null) + { + go = gameObject; + } + + textUI = go.GetComponent(); + inputField = go.GetComponent(); + textMesh = go.GetComponent(); + + // Cache the list of child writer listeners + foreach (Component component in GetComponentsInChildren()) + { + IWriterListener writerListener = component as IWriterListener; + if (writerListener != null) + { + writerListeners.Add(writerListener); + } + } } public virtual bool HasTextObject() @@ -135,15 +197,7 @@ namespace Fungus return closeText; } - - protected virtual void Update() - { - if (Input.anyKeyDown) - { - SetInputFlag(); - } - } - + public virtual void SetTextColor(Color textColor) { if (textUI != null) @@ -187,8 +241,13 @@ namespace Fungus textMesh.color = tempColor; } } - - public virtual void Write(string content, bool clear, Action onComplete = null) + + public virtual void Stop() + { + exitFlag = true; + } + + public virtual void Write(string content, bool clear, bool waitForInput, AudioClip audioClip, Action onComplete) { if (clear) { @@ -199,17 +258,24 @@ namespace Fungus { return; } - + + // If this clip is null then WriterAudio will play the default sound effect (if any) + NotifyStart(audioClip); + + string tokenText = content; + if (waitForInput) + { + tokenText += "{wi}"; + } + TextTagParser tagParser = new TextTagParser(); - List tokens = tagParser.Tokenize(content); - + List tokens = tagParser.Tokenize(tokenText); + StartCoroutine(ProcessTokens(tokens, onComplete)); } protected virtual IEnumerator ProcessTokens(List tokens, Action onComplete) { - text = ""; - // Reset control members boldActive = false; italicActive = false; @@ -217,9 +283,13 @@ namespace Fungus colorText = ""; currentPunctuationPause = punctuationPause; currentWritingSpeed = writingSpeed; - + + exitFlag = false; + isWriting = true; + foreach (TextTagParser.Token token in tokens) { + switch (token.type) { case TextTagParser.TokenType.Words: @@ -290,7 +360,8 @@ namespace Fungus break; case TextTagParser.TokenType.Exit: - yield break; + exitFlag = true; + break; case TextTagParser.TokenType.Message: Flowchart.BroadcastFungusMessage(token.param); @@ -333,51 +404,59 @@ namespace Fungus break; case TextTagParser.TokenType.Audio: - { - AudioSource audioSource = FindAudio(token.param); - if (audioSource != null) { - audioSource.PlayOneShot(audioSource.clip); + AudioSource audioSource = FindAudio(token.param); + if (audioSource != null) + { + audioSource.PlayOneShot(audioSource.clip); + } } - } break; case TextTagParser.TokenType.AudioLoop: - { - AudioSource audioSource = FindAudio(token.param); - if (audioSource != null) { - audioSource.Play(); - audioSource.loop = true; + AudioSource audioSource = FindAudio(token.param); + if (audioSource != null) + { + audioSource.Play(); + audioSource.loop = true; + } } - } break; case TextTagParser.TokenType.AudioPause: - { - AudioSource audioSource = FindAudio(token.param); - if (audioSource != null) { - audioSource.Pause(); + AudioSource audioSource = FindAudio(token.param); + if (audioSource != null) + { + audioSource.Pause(); + } } - } break; case TextTagParser.TokenType.AudioStop: - { - AudioSource audioSource = FindAudio(token.param); - if (audioSource != null) { - audioSource.Stop(); + AudioSource audioSource = FindAudio(token.param); + if (audioSource != null) + { + audioSource.Stop(); + } } - } break; - } - inputFlag = false; + if (exitFlag) + { + break; + } } - + + inputFlag = false; + exitFlag = false; + isWriting = false; + + NotifyEnd(); + if (onComplete != null) { onComplete(); @@ -389,22 +468,36 @@ namespace Fungus string startText = text; string openText = OpenMarkup(); string closeText = CloseMarkup(); - + float timeAccumulator = Time.deltaTime; for (int i = 0; i < param.Length; ++i) { + // Exit immediately if the exit flag has been set + if (exitFlag) + { + break; + } + string left = ""; string right = ""; PartitionString(writeWholeWords, param, i, out left, out right); text = ConcatenateString(startText, openText, closeText, left, right); + NotifyGlyph(); + + // No delay if user has clicked + if (inputFlag) + { + continue; + } + // Punctuation pause if (left.Length > 0 && IsPunctuation(left.Substring(left.Length - 1)[0])) { - yield return new WaitForSeconds(currentPunctuationPause); + yield return StartCoroutine(DoWait(currentPunctuationPause)); } // Delay between characters @@ -464,11 +557,6 @@ namespace Fungus return tempText; } - public virtual void SetInputFlag() - { - inputFlag = true; - } - public virtual string GetTagHelp() { return ""; @@ -481,23 +569,54 @@ namespace Fungus { duration = 1f; } - - yield return new WaitForSeconds(duration); + + NotifyPause(); + + float timeRemaining = duration; + while (timeRemaining > 0f && !inputFlag) + { + timeRemaining -= Time.deltaTime; + yield return null; + } + + NotifyResume(); } - + + protected virtual IEnumerator DoWait(float duration) + { + NotifyPause(); + + float timeRemaining = duration; + while (timeRemaining > 0f && !inputFlag) + { + timeRemaining -= Time.deltaTime; + yield return null; + } + + NotifyResume(); + } + protected virtual IEnumerator DoWaitForInput(bool clear) { + NotifyPause(); + + inputFlag = false; + isWaitingForInput = true; + while (!inputFlag) { yield return null; } - + + isWaitingForInput = false; inputFlag = false; - + if (clear) { textUI.text = ""; } + + NotifyResume(); } protected virtual bool IsPunctuation(char character) @@ -536,6 +655,68 @@ namespace Fungus return go.GetComponent(); } + + protected virtual void NotifyInput() + { + foreach (IWriterListener writerListener in writerListeners) + { + writerListener.OnInput(); + } + } + + + protected virtual void NotifyStart(AudioClip audioClip) + { + foreach (IWriterListener writerListener in writerListeners) + { + writerListener.OnStart(audioClip); + } + } + + protected virtual void NotifyPause() + { + foreach (IWriterListener writerListener in writerListeners) + { + writerListener.OnPause(); + } + } + + protected virtual void NotifyResume() + { + foreach (IWriterListener writerListener in writerListeners) + { + writerListener.OnResume(); + } + } + + protected virtual void NotifyEnd() + { + foreach (IWriterListener writerListener in writerListeners) + { + writerListener.OnEnd(); + } + } + + protected virtual void NotifyGlyph() + { + foreach (IWriterListener writerListener in writerListeners) + { + writerListener.OnGlyph(); + } + } + + // + // IDialogInputListener implementation + // + public virtual void OnNextLineEvent() + { + inputFlag = true; + + if (isWriting) + { + NotifyInput(); + } + } } } diff --git a/Assets/Fungus/UI/Scripts/WriterAudio.cs b/Assets/Fungus/UI/Scripts/WriterAudio.cs new file mode 100644 index 00000000..cafc69c7 --- /dev/null +++ b/Assets/Fungus/UI/Scripts/WriterAudio.cs @@ -0,0 +1,189 @@ +using UnityEngine; +using System.Collections; +using System.Collections.Generic; + +namespace Fungus +{ + /* + * Manages audio effects for Dialogs + */ + public class WriterAudio : MonoBehaviour, IWriterListener + { + [Tooltip("Volume level of writing sound effects")] + [Range(0,1)] + public float volume = 1f; + + [Tooltip("Loop the audio when in Sound Effect mode. Has no effect in Beeps mode.")] + public bool loop = true; + + // If none is specifed then we use any AudioSource on the gameobject, and if that doesn't exist we create one. + [Tooltip("AudioSource to use for playing sound effects. If none is selected then one will be created.")] + public AudioSource targetAudioSource; + + public enum AudioMode + { + Beeps, // Use short beep sound effects + SoundEffect, // Use long looping sound effect + } + + [Tooltip("Type of sound effect to play when writing text")] + public AudioMode audioMode = AudioMode.Beeps; + + [Tooltip("List of beeps to randomly select when playing beep sound effects. Will play maximum of one beep per character, with only one beep playing at a time.")] + public List beepSounds = new List(); + + [Tooltip("Long playing sound effect to play when writing text")] + public AudioClip soundEffect; + + [Tooltip("Sound effect to play on user input (e.g. a click)")] + public AudioClip inputSound; + + protected float targetVolume = 0f; + + // When true, a beep will be played on every written character glyph + protected bool playBeeps; + + public virtual void SetAudioMode(AudioMode mode) + { + audioMode = mode; + } + + protected virtual void Awake() + { + // Need to do this in Awake rather than Start due to init order issues + if (targetAudioSource == null) + { + targetAudioSource = GetComponent(); + if (targetAudioSource == null) + { + targetAudioSource = gameObject.AddComponent(); + } + } + + targetAudioSource.volume = 0f; + } + + public virtual void Play(AudioClip audioClip) + { + if (targetAudioSource == null || + (audioMode == AudioMode.SoundEffect && soundEffect == null && audioClip == null) || + (audioMode == AudioMode.Beeps && beepSounds.Count == 0)) + { + return; + } + + targetAudioSource.volume = 0f; + targetVolume = 1f; + + if (audioClip != null) + { + // Voice over clip provided + targetAudioSource.clip = audioClip; + targetAudioSource.loop = loop; + targetAudioSource.Play(); + } + else if (audioMode == AudioMode.SoundEffect && + soundEffect != null) + { + // Use sound effects defined in WriterAudio + targetAudioSource.clip = soundEffect; + targetAudioSource.loop = loop; + targetAudioSource.Play(); + } + else if (audioMode == AudioMode.Beeps) + { + // Use beeps defined in WriterAudio + targetAudioSource.clip = null; + targetAudioSource.loop = false; + playBeeps = true; + } + } + + public virtual void Pause() + { + if (targetAudioSource == null) + { + return; + } + + // There's an audible click if you call audioSource.Pause() so instead just drop the volume to 0. + targetVolume = 0f; + } + + public virtual void Stop() + { + if (targetAudioSource == null) + { + return; + } + + // There's an audible click if you call audioSource.Stop() so instead we just switch off + // looping and let the audio stop automatically at the end of the clip + targetVolume = 0f; + targetAudioSource.loop = false; + playBeeps = false; + } + + public virtual void Resume() + { + if (targetAudioSource == null) + { + return; + } + + targetVolume = 1f; + } + + protected virtual void Update() + { + targetAudioSource.volume = Mathf.MoveTowards(targetAudioSource.volume, targetVolume, Time.deltaTime * 5f); + } + + // + // IWriterListener implementation + // + + public virtual void OnInput() + { + if (inputSound != null) + { + // Assumes we're playing a 2D sound + AudioSource.PlayClipAtPoint(inputSound, Vector3.zero); + } + } + + public virtual void OnStart(AudioClip audioClip) + { + Play(audioClip); + } + + public virtual void OnPause() + { + Pause(); + } + + public virtual void OnResume() + { + Resume(); + } + + public virtual void OnEnd() + { + Stop(); + } + + public virtual void OnGlyph() + { + if (playBeeps && beepSounds.Count > 0) + { + if (!targetAudioSource.isPlaying) + { + targetAudioSource.clip = beepSounds[Random.Range(0, beepSounds.Count - 1)]; + targetAudioSource.loop = false; + targetAudioSource.Play(); + } + } + } + } + +} \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/DialogAudio.cs.meta b/Assets/Fungus/UI/Scripts/WriterAudio.cs.meta similarity index 100% rename from Assets/Fungus/Narrative/Scripts/DialogAudio.cs.meta rename to Assets/Fungus/UI/Scripts/WriterAudio.cs.meta diff --git a/Assets/FungusExamples/Sherlock/TheExperiment.unity b/Assets/FungusExamples/Sherlock/TheExperiment.unity index e98a8cb7..2037724d 100644 --- a/Assets/FungusExamples/Sherlock/TheExperiment.unity +++ b/Assets/FungusExamples/Sherlock/TheExperiment.unity @@ -2255,6 +2255,7 @@ Camera: m_OcclusionCulling: 1 m_StereoConvergence: 10 m_StereoSeparation: .0219999999 + m_StereoMirrorMode: 0 --- !u!1 &955843138 GameObject: m_ObjectHideFlags: 0 @@ -3059,7 +3060,6 @@ GameObject: - 4: {fileID: 1390555296} - 114: {fileID: 1390555295} - 114: {fileID: 1390555440} - - 114: {fileID: 1390555293} - 114: {fileID: 1390555312} - 114: {fileID: 1390555302} - 114: {fileID: 1390555298} @@ -3184,8 +3184,9 @@ MonoBehaviour: itemId: 73 errorMessage: indentLevel: 0 + targetFlowchart: {fileID: 0} targetBlock: {fileID: 1390555371} - stopParentBlock: 1 + callMode: 0 --- !u!114 &1390555292 MonoBehaviour: m_ObjectHideFlags: 2 @@ -3204,20 +3205,10 @@ MonoBehaviour: description: targetBlock: {fileID: 1390555302} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} ---- !u!114 &1390555293 -MonoBehaviour: - m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 11499482, guid: 1a602840cc64f2a438277c078435e290, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1390555290} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} - m_Name: - m_EditorClassIdentifier: - parentBlock: {fileID: 0} --- !u!114 &1390555294 MonoBehaviour: m_ObjectHideFlags: 2 @@ -3236,6 +3227,9 @@ MonoBehaviour: description: targetBlock: {fileID: 1390555312} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &1390555295 MonoBehaviour: @@ -3249,6 +3243,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} m_Name: m_EditorClassIdentifier: + version: 1.0 scrollPos: {x: 2985.33252, y: 1207.83801} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 @@ -3260,17 +3255,16 @@ MonoBehaviour: y: -1729.35046 width: 5969.4458 height: 2818.85034 - selectedBlock: {fileID: 1390555308} + selectedBlock: {fileID: 1390555440} selectedCommands: [] variables: - {fileID: 1390555396} description: 'Example scene from Sherlock: The Game Is On' - pauseAfterCommand: 0 + stepPause: 0 colorCommands: 1 hideComponents: 1 saveSelection: 1 localizationId: - nextItemId: 105 --- !u!4 &1390555296 Transform: m_ObjectHideFlags: 0 @@ -3306,8 +3300,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 1 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555298 @@ -3385,7 +3378,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -3412,7 +3405,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 0 waitForClick: 0 setSayDialog: {fileID: 0} @@ -3434,6 +3426,9 @@ MonoBehaviour: description: targetBlock: {fileID: 1390555362} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &1390555302 MonoBehaviour: @@ -3482,8 +3477,9 @@ MonoBehaviour: itemId: 17 errorMessage: indentLevel: 0 + targetFlowchart: {fileID: 0} targetBlock: {fileID: 1390555304} - stopParentBlock: 1 + callMode: 0 --- !u!114 &1390555304 MonoBehaviour: m_ObjectHideFlags: 2 @@ -3530,6 +3526,9 @@ MonoBehaviour: description: targetBlock: {fileID: 1390555308} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &1390555306 MonoBehaviour: @@ -3553,8 +3552,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 0 setSayDialog: {fileID: 0} --- !u!114 &1390555307 @@ -3619,7 +3617,7 @@ MonoBehaviour: - {fileID: 1390555309} --- !u!114 &1390555309 MonoBehaviour: - m_ObjectHideFlags: 0 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1390555290} @@ -3635,10 +3633,13 @@ MonoBehaviour: description: targetBlock: {fileID: 1390555302} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &1390555310 MonoBehaviour: - m_ObjectHideFlags: 0 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1390555290} @@ -3654,10 +3655,13 @@ MonoBehaviour: description: targetBlock: {fileID: 1390555312} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &1390555311 MonoBehaviour: - m_ObjectHideFlags: 0 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1390555290} @@ -3677,8 +3681,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 0 setSayDialog: {fileID: 0} --- !u!114 &1390555312 @@ -3749,7 +3752,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} @@ -3776,8 +3778,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555315 @@ -3803,8 +3804,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555316 @@ -3830,8 +3830,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555317 @@ -3857,8 +3856,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 1 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555318 @@ -3924,7 +3922,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} @@ -3951,8 +3948,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555322 @@ -3978,8 +3974,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555323 @@ -4005,8 +4000,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555324 @@ -4033,8 +4027,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555325 @@ -4071,8 +4064,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555327 @@ -4098,8 +4090,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555328 @@ -4125,8 +4116,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555329 @@ -4152,8 +4142,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555330 @@ -4179,8 +4168,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555331 @@ -4206,8 +4194,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555332 @@ -4233,8 +4220,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555333 @@ -4261,8 +4247,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555334 @@ -4288,7 +4273,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 1 fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} @@ -4306,8 +4290,9 @@ MonoBehaviour: itemId: 86 errorMessage: indentLevel: 0 + targetFlowchart: {fileID: 0} targetBlock: {fileID: 1390555298} - stopParentBlock: 1 + callMode: 0 --- !u!114 &1390555336 MonoBehaviour: m_ObjectHideFlags: 2 @@ -4323,8 +4308,9 @@ MonoBehaviour: itemId: 24 errorMessage: indentLevel: 0 + targetFlowchart: {fileID: 0} targetBlock: {fileID: 1390555440} - stopParentBlock: 1 + callMode: 0 --- !u!114 &1390555337 MonoBehaviour: m_ObjectHideFlags: 2 @@ -4351,7 +4337,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -4382,7 +4368,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -4451,7 +4437,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -4482,7 +4468,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -4513,7 +4499,7 @@ MonoBehaviour: facing: 2 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 1 shiftIntoPlace: 0 @@ -4564,7 +4550,7 @@ MonoBehaviour: facing: 1 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 1 shiftIntoPlace: 0 @@ -4595,7 +4581,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -4626,7 +4612,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -4657,7 +4643,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -4688,7 +4674,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -4716,8 +4702,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 1 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555351 @@ -4746,7 +4731,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -4777,7 +4762,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -4807,7 +4792,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -4837,7 +4822,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -4864,7 +4849,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} @@ -4893,7 +4877,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -5067,7 +5051,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 1 shiftIntoPlace: 0 @@ -5097,7 +5081,7 @@ MonoBehaviour: facing: 1 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -5124,8 +5108,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 1 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555367 @@ -5189,7 +5172,6 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} @@ -5265,7 +5247,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -5295,7 +5277,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -5325,7 +5307,7 @@ MonoBehaviour: facing: 1 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -5355,7 +5337,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -5385,7 +5367,7 @@ MonoBehaviour: facing: 1 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -5415,7 +5397,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -5445,7 +5427,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -5475,7 +5457,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -5505,7 +5487,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -5533,8 +5515,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 1 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1390555382 @@ -5562,7 +5543,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -5592,7 +5573,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -5622,7 +5603,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -5652,7 +5633,7 @@ MonoBehaviour: facing: 0 useDefaultSettings: 1 fadeDuration: 0 - moveSpeed: 0 + moveDuration: 1 shiftOffset: {x: 0, y: 0} move: 0 shiftIntoPlace: 0 @@ -6463,7 +6444,7 @@ MonoBehaviour: m_EditorClassIdentifier: tagStartSymbol: '{worried}' tagEndSymbol: - replaceTagStartWith: '{audio=worried}{shiver=4}' + replaceTagStartWith: '{audio=worried}{vpunch=4}' replaceTagEndWith: --- !u!82 &1986911342 AudioSource: diff --git a/Assets/FungusExamples/TheFacility/TheFacility.unity b/Assets/FungusExamples/TheFacility/TheFacility.unity index ff36b896..a5ebc889 100644 --- a/Assets/FungusExamples/TheFacility/TheFacility.unity +++ b/Assets/FungusExamples/TheFacility/TheFacility.unity @@ -87,6 +87,117 @@ NavMeshSettings: cellSize: .166666657 manualCellSize: 0 m_NavMeshData: {fileID: 0} +--- !u!1 &31932611 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 31932612} + - 222: {fileID: 31932616} + - 114: {fileID: 31932615} + - 225: {fileID: 31932614} + - 114: {fileID: 31932613} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &31932612 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 31932611} + 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: 88347145} + - {fileID: 510870841} + m_Father: {fileID: 243104469} + 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: 0, y: 0} +--- !u!114 &31932613 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11478524, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 31932611} + 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: 243104468} + 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 &31932614 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22583964, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 31932611} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &31932615 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488904, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 31932611} + m_Enabled: 0 + 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 &31932616 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22288900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 31932611} --- !u!1 &73747985 GameObject: m_ObjectHideFlags: 1 @@ -114,10 +225,89 @@ Transform: m_Children: [] m_Father: {fileID: 771014101} m_RootOrder: 12 ---- !u!1 &88347144 stripped +--- !u!1 &88347144 GameObject: + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 188894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - m_PrefabInternal: {fileID: 618014253} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 88347145} + - 222: {fileID: 88347149} + - 114: {fileID: 88347146} + - 114: {fileID: 88347147} + - 114: {fileID: 88347148} + m_Layer: 5 + m_Name: StoryText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &88347145 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 88347144} + 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: 31932612} + m_RootOrder: 0 + m_AnchorMin: {x: .0907797143, y: .125833333} + m_AnchorMax: {x: .911751449, y: .872500062} + m_AnchoredPosition: {x: 0, y: -1} + m_SizeDelta: {x: 12, y: -3} + m_Pivot: {x: .5, y: .5} +--- !u!114 &88347146 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 88347144} + 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: 50 + m_Alignment: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Story text +--- !u!114 &88347147 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11439138, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 88347144} + 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: -1 + m_FlexibleWidth: 1 + m_FlexibleHeight: 1 --- !u!114 &88347148 MonoBehaviour: m_ObjectHideFlags: 0 @@ -132,6 +322,13 @@ MonoBehaviour: m_EffectColor: {r: 0, g: 0, b: 0, a: .5} m_EffectDistance: {x: 2, y: 2} m_UseGraphicAlpha: 1 +--- !u!222 &88347149 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22288894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 88347144} --- !u!1 &157780834 GameObject: m_ObjectHideFlags: 1 @@ -159,6 +356,313 @@ Transform: m_Children: [] m_Father: {fileID: 771014101} m_RootOrder: 5 +--- !u!1 &235686025 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 155030, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 235686026} + - 222: {fileID: 235686028} + - 114: {fileID: 235686027} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &235686026 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22443574, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 235686025} + 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: 510870841} + 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 &235686027 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11431470, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 235686025} + 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 &235686028 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22257884, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 235686025} +--- !u!1 &243104467 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 243104469} + - 223: {fileID: 243104476} + - 114: {fileID: 243104475} + - 225: {fileID: 243104474} + - 114: {fileID: 243104473} + - 114: {fileID: 676616171} + - 114: {fileID: 243104472} + - 114: {fileID: 243104471} + - 114: {fileID: 243104468} + - 82: {fileID: 243104470} + m_Layer: 5 + m_Name: SayDialog + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &243104468 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11481894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 243104467} + 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!224 &243104469 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 243104467} + 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: 31932612} + m_Father: {fileID: 0} + m_RootOrder: 4 + 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!82 &243104470 +AudioSource: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 8294266, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 243104467} + 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 &243104471 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11404316, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 243104467} + 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} + inputSound: {fileID: 8300000, guid: 14a396b1562834718b2d52b9c4639264, type: 3} +--- !u!114 &243104472 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11487070, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 243104467} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Name: + m_EditorClassIdentifier: + targetTextObject: {fileID: 88347144} + writingSpeed: 60 + punctuationPause: .25 + hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} + writeWholeWords: 0 +--- !u!114 &243104473 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11486804, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 243104467} + 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 &243104474 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22588896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 243104467} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &243104475 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488906, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 243104467} + 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 &243104476 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22388894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 243104467} + 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!1 &314243100 GameObject: m_ObjectHideFlags: 1 @@ -219,6 +723,125 @@ Transform: m_Children: [] m_Father: {fileID: 771014101} m_RootOrder: 0 +--- !u!1 &510870837 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 180152, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 510870841} + - 222: {fileID: 510870840} + - 114: {fileID: 510870839} + - 114: {fileID: 510870838} + m_Layer: 5 + m_Name: Continue + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &510870838 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11419088, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 510870837} + 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: 510870839} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 243104468} + 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 &510870839 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11493918, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 510870837} + 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 &510870840 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22268826, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 510870837} +--- !u!224 &510870841 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22433354, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 510870837} + 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: 235686026} + m_Father: {fileID: 31932612} + m_RootOrder: 1 + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 1888.90002, y: 212} + m_SizeDelta: {x: 123, y: 121} + m_Pivot: {x: .5, y: .5} --- !u!1 &552372303 GameObject: m_ObjectHideFlags: 1 @@ -259,208 +882,6 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 ---- !u!1001 &618014253 -Prefab: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_RootOrder - value: 4 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchoredPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_SizeDelta.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_SizeDelta.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchorMin.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchorMin.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchorMax.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchorMax.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_Pivot.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_Pivot.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 148914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_IsActive - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 11488904, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_Enabled - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 188898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_IsActive - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_SizeDelta.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchoredPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_SizeDelta.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchorMax.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchorMin.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchorMax.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchorMin.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22488898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchorMin.x - value: .904624939 - objectReference: {fileID: 0} - - target: {fileID: 22488898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchoredPosition.x - value: -2.96500015 - objectReference: {fileID: 0} - - target: {fileID: 22488898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_SizeDelta.x - value: 3.13083267 - objectReference: {fileID: 0} - - target: {fileID: 22488898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchorMax.y - value: .050833337 - objectReference: {fileID: 0} - - target: {fileID: 22488898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchoredPosition.y - value: 35.4000015 - objectReference: {fileID: 0} - - target: {fileID: 22488898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_SizeDelta.y - value: 64 - objectReference: {fileID: 0} - - target: {fileID: 22488898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchorMin.y - value: .050833337 - objectReference: {fileID: 0} - - target: {fileID: 22488898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchorMax.x - value: .967125058 - objectReference: {fileID: 0} - - target: {fileID: 11488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_FontData.m_MaxSize - value: 50 - objectReference: {fileID: 0} - - target: {fileID: 11488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: writingSpeed - value: 40 - objectReference: {fileID: 0} - - target: {fileID: 188902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_IsActive - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 188902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_Name - value: SayDialog - objectReference: {fileID: 0} - - target: {fileID: 22439138, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchoredPosition.x - value: -7 - objectReference: {fileID: 0} - - target: {fileID: 22439138, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_AnchoredPosition.y - value: 2 - objectReference: {fileID: 0} - - target: {fileID: 22439138, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_SizeDelta.x - value: -80 - objectReference: {fileID: 0} - - target: {fileID: 22439138, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_SizeDelta.y - value: -80 - objectReference: {fileID: 0} - - target: {fileID: 11439138, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_PreferredHeight - value: -1 - objectReference: {fileID: 0} - - target: {fileID: 11439138, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_FlexibleHeight - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 11439140, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - propertyPath: m_ChildAlignment - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - m_IsPrefabParent: 0 --- !u!1 &639548732 GameObject: m_ObjectHideFlags: 1 @@ -515,12 +936,24 @@ Transform: m_Children: [] m_Father: {fileID: 771014101} m_RootOrder: 7 ---- !u!114 &676616171 stripped +--- !u!114 &676616171 MonoBehaviour: + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 11488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - m_PrefabInternal: {fileID: 618014253} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 243104467} + m_Enabled: 1 + m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} + m_Name: + m_EditorClassIdentifier: + fadeDuration: .25 + continueButton: {fileID: 510870838} + dialogCanvas: {fileID: 243104476} + nameText: {fileID: 0} + storyText: {fileID: 88347146} + characterImage: {fileID: 0} --- !u!1001 &768791691 Prefab: m_ObjectHideFlags: 0 @@ -705,7 +1138,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} m_Name: m_EditorClassIdentifier: - scrollPos: {x: -379.13031, y: 203.234314} + version: 1.0 + scrollPos: {x: -313.13031, y: 97.234314} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 blockViewHeight: 400 @@ -716,8 +1150,9 @@ MonoBehaviour: y: -610.734985 width: 3324.20264 height: 2227.35059 - selectedBlock: {fileID: 0} - selectedCommands: [] + selectedBlock: {fileID: 771014151} + selectedCommands: + - {fileID: 771014162} variables: - {fileID: 771014103} description: 'This is a simple Choose Your Own Adventure @@ -811,7 +1246,7 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 473.814453 + x: 471.814453 y: -52.946228 width: 120 height: 40 @@ -891,6 +1326,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014119} hideIfVisited: 1 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014108 MonoBehaviour: @@ -910,6 +1348,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014109} hideIfVisited: 1 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014109 MonoBehaviour: @@ -977,8 +1418,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014112 @@ -999,6 +1439,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014113} hideIfVisited: 1 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014113 MonoBehaviour: @@ -1075,8 +1518,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014116 @@ -1097,6 +1539,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014117} hideIfVisited: 1 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014117 MonoBehaviour: @@ -1140,6 +1585,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014120} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014119 MonoBehaviour: @@ -1258,6 +1706,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014203} hideIfVisited: 1 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014124 MonoBehaviour: @@ -1277,6 +1728,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014141} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014125 MonoBehaviour: @@ -1310,6 +1764,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014207} hideIfVisited: 1 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014127 MonoBehaviour: @@ -1343,6 +1800,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014210} hideIfVisited: 1 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014129 MonoBehaviour: @@ -1390,6 +1850,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014148} hideIfVisited: 1 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014131 MonoBehaviour: @@ -1409,6 +1872,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014132} hideIfVisited: 1 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014132 MonoBehaviour: @@ -1474,8 +1940,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014135 @@ -1496,6 +1961,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014144} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014136 MonoBehaviour: @@ -1519,8 +1987,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 0 waitForClick: 0 setSayDialog: {fileID: 0} --- !u!114 &771014137 @@ -1586,8 +2053,7 @@ MonoBehaviour: showAlways: 0 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014138 @@ -1612,8 +2078,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 0 waitForClick: 0 setSayDialog: {fileID: 0} --- !u!114 &771014139 @@ -1634,6 +2099,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014140} hideIfVisited: 1 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014140 MonoBehaviour: @@ -1736,8 +2204,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014144 @@ -1753,8 +2220,8 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 1143.28809 - y: 162.344482 + x: 1145.28809 + y: 163.344482 width: 125 height: 40 itemId: 87 @@ -1785,6 +2252,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014146} hideIfVisited: 1 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014146 MonoBehaviour: @@ -1871,6 +2341,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014151} hideIfVisited: 1 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014150 MonoBehaviour: @@ -1890,6 +2363,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014231} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014151 MonoBehaviour: @@ -1934,6 +2410,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014153} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014153 MonoBehaviour: @@ -2011,8 +2490,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014156 @@ -2033,6 +2511,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014157} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014157 MonoBehaviour: @@ -2110,6 +2591,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014102} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014161 MonoBehaviour: @@ -2129,6 +2613,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014168} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014162 MonoBehaviour: @@ -2175,8 +2662,7 @@ MonoBehaviour: showAlways: 0 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 0 waitForClick: 0 setSayDialog: {fileID: 0} --- !u!114 &771014163 @@ -2227,8 +2713,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014164 @@ -2253,8 +2738,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 0 waitForClick: 0 setSayDialog: {fileID: 0} --- !u!114 &771014165 @@ -2372,8 +2856,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014171 @@ -2441,8 +2924,7 @@ MonoBehaviour: showAlways: 0 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014172 @@ -2474,8 +2956,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014173 @@ -2500,8 +2981,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 0 waitForClick: 0 setSayDialog: {fileID: 0} --- !u!114 &771014174 @@ -2528,8 +3008,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014178 @@ -2554,8 +3033,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014179 @@ -2595,8 +3073,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014180 @@ -2617,6 +3094,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014181} hideIfVisited: 1 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014181 MonoBehaviour: @@ -2690,8 +3170,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014185 @@ -2716,8 +3195,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 0 waitForClick: 0 setSayDialog: {fileID: 0} --- !u!114 &771014188 @@ -2781,8 +3259,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014189 @@ -2803,6 +3280,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014190} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014190 MonoBehaviour: @@ -2871,8 +3351,7 @@ MonoBehaviour: showAlways: 0 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014193 @@ -2911,8 +3390,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014194 @@ -2933,6 +3411,9 @@ MonoBehaviour: description: targetBlock: {fileID: 771014195} hideIfVisited: 1 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &771014195 MonoBehaviour: @@ -2997,8 +3478,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014198 @@ -3023,8 +3503,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 0 waitForClick: 0 setSayDialog: {fileID: 0} --- !u!114 &771014200 @@ -3063,8 +3542,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014201 @@ -3106,8 +3584,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014203 @@ -3160,8 +3637,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014205 @@ -3327,8 +3803,7 @@ MonoBehaviour: showAlways: 0 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014217 @@ -3355,8 +3830,7 @@ MonoBehaviour: showAlways: 0 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014224 @@ -3385,8 +3859,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 0 waitForClick: 0 setSayDialog: {fileID: 0} --- !u!114 &771014225 @@ -3480,8 +3953,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &771014231 @@ -3641,6 +4113,7 @@ Camera: m_OcclusionCulling: 1 m_StereoConvergence: 10 m_StereoSeparation: .0219999999 + m_StereoMirrorMode: 0 --- !u!4 &1020378998 Transform: m_ObjectHideFlags: 0 diff --git a/Assets/FungusExamples/TheHunter/TheHunter.unity b/Assets/FungusExamples/TheHunter/TheHunter.unity index 680435a7..5565d6bd 100644 --- a/Assets/FungusExamples/TheHunter/TheHunter.unity +++ b/Assets/FungusExamples/TheHunter/TheHunter.unity @@ -965,6 +965,7 @@ Camera: m_OcclusionCulling: 1 m_StereoConvergence: 10 m_StereoSeparation: .0219999999 + m_StereoMirrorMode: 0 --- !u!4 &648988545 Transform: m_ObjectHideFlags: 0 @@ -1188,6 +1189,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 +1210,6 @@ MonoBehaviour: hideComponents: 1 saveSelection: 1 localizationId: - nextItemId: 2 --- !u!4 &891057089 Transform: m_ObjectHideFlags: 1 @@ -1387,6 +1388,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 +1409,6 @@ MonoBehaviour: hideComponents: 1 saveSelection: 1 localizationId: - nextItemId: 1 --- !u!4 &1247920062 Transform: m_ObjectHideFlags: 1 @@ -1684,9 +1685,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} @@ -1792,19 +1791,21 @@ 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: 82.0114822, y: 581.36969} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 blockViewHeight: 400 - zoom: .985999107 + zoom: .929995656 scrollViewRect: serializedVersion: 2 x: -810.017578 y: -920.022339 width: 1939.01758 height: 2009.52234 - selectedBlock: {fileID: 1831099637} - selectedCommands: [] + selectedBlock: {fileID: 1831099608} + selectedCommands: + - {fileID: 1831099604} variables: - {fileID: 1831099569} description: 'This is an example of a short Visual Novel / RPG @@ -1815,7 +1816,6 @@ MonoBehaviour: hideComponents: 0 saveSelection: 1 localizationId: - nextItemId: 73 --- !u!114 &1831099569 MonoBehaviour: m_ObjectHideFlags: 0 @@ -1830,35 +1830,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,8 +2029,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099582 @@ -2086,8 +2056,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099583 @@ -2134,8 +2103,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099585 @@ -2160,8 +2128,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099586 @@ -2186,8 +2153,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099587 @@ -2212,8 +2178,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099588 @@ -2239,8 +2204,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099589 @@ -2302,8 +2266,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099592 @@ -2380,8 +2343,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099595 @@ -2412,8 +2374,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099596 @@ -2442,8 +2403,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099597 @@ -2494,7 +2454,7 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 107.654449 + x: 108.729736 y: -378.268433 width: 125 height: 40 @@ -2527,6 +2487,9 @@ MonoBehaviour: description: targetBlock: {fileID: 1831099592} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &1831099601 MonoBehaviour: @@ -2546,6 +2509,9 @@ MonoBehaviour: description: targetBlock: {fileID: 1831099599} hideIfVisited: 0 + interactable: + booleanRef: {fileID: 0} + booleanVal: 1 setMenuDialog: {fileID: 0} --- !u!114 &1831099602 MonoBehaviour: @@ -2585,8 +2551,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 0 waitForClick: 0 setSayDialog: {fileID: 0} --- !u!114 &1831099605 @@ -2611,8 +2576,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099606 @@ -2659,8 +2623,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099608 @@ -2676,7 +2639,7 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 112.963318 + x: 114.038605 y: -441.890259 width: 120 height: 40 @@ -2733,8 +2696,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099611 @@ -2759,8 +2721,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099612 @@ -2806,8 +2767,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099614 @@ -2832,8 +2792,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099615 @@ -2878,8 +2837,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099617 @@ -2904,8 +2862,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099618 @@ -2947,8 +2904,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099620 @@ -2973,8 +2929,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099621 @@ -2999,8 +2954,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099622 @@ -3062,8 +3016,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099625 @@ -3234,8 +3187,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099634 @@ -3308,8 +3260,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099637 @@ -3325,7 +3276,7 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 108.007446 + x: 106.93219 y: -254.68811 width: 120 height: 40 @@ -3409,8 +3360,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099641 @@ -3437,8 +3387,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099642 @@ -3463,8 +3412,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099643 @@ -3493,8 +3441,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1831099644 @@ -3606,6 +3553,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 +3574,6 @@ MonoBehaviour: hideComponents: 1 saveSelection: 1 localizationId: - nextItemId: 1 --- !u!4 &1846387300 Transform: m_ObjectHideFlags: 1 diff --git a/Assets/Tests/Audio/AudioTests.unity b/Assets/Tests/Audio/AudioTests.unity index daf2a809..8e929c38 100644 --- a/Assets/Tests/Audio/AudioTests.unity +++ b/Assets/Tests/Audio/AudioTests.unity @@ -172,6 +172,341 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 +--- !u!114 &141331629 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2586c8e41f35d2f4fadde53020bf4207, type: 3} + m_Name: + m_EditorClassIdentifier: + go: {fileID: 1280611022} + thisPropertyPath: AudioSource.isPlaying + compareToType: 1 + other: {fileID: 0} + otherPropertyPath: + constantValueGeneric: 0 +--- !u!1 &154271128 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 142980, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 154271129} + - 114: {fileID: 154271130} + - 114: {fileID: 154271132} + - 114: {fileID: 154271137} + - 114: {fileID: 154271136} + - 114: {fileID: 154271135} + - 114: {fileID: 154271134} + - 114: {fileID: 154271133} + - 114: {fileID: 154271131} + m_Layer: 0 + m_Name: Flowchart + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &154271129 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 467082, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 154271128} + 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: 2109416473} + m_RootOrder: 0 +--- !u!114 &154271130 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11430050, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 154271128} + m_Enabled: 1 + m_EditorHideFlags: 0 + 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 + blockViewHeight: 400 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: -343 + y: -340 + width: 1114 + height: 859 + selectedBlock: {fileID: 154271132} + selectedCommands: [] + variables: [] + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: +--- !u!114 &154271131 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 154271128} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bc30c92f7ffe3d746ac76cd528d616e5, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 5 + errorMessage: + indentLevel: 0 + control: 3 + audioSource: {fileID: 1280611024} + startVolume: 1 + endVolume: 1 + fadeDuration: 0 + waitUntilFinished: 0 +--- !u!114 &154271132 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 11433304, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 154271128} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 64 + y: 69 + width: 120 + height: 40 + itemId: 0 + blockName: Start + description: + eventHandler: {fileID: 154271137} + commandList: + - {fileID: 154271136} + - {fileID: 154271135} + - {fileID: 154271134} + - {fileID: 154271133} + - {fileID: 154271131} +--- !u!114 &154271133 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 154271128} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bc30c92f7ffe3d746ac76cd528d616e5, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 4 + errorMessage: + indentLevel: 0 + control: 3 + audioSource: {fileID: 2113119600} + startVolume: 1 + endVolume: 1 + fadeDuration: 0 + waitUntilFinished: 0 +--- !u!114 &154271134 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 154271128} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3315ad2ebb85443909a1203d56d9344e, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 3 + errorMessage: + indentLevel: 0 + duration: 2 +--- !u!114 &154271135 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 154271128} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bc30c92f7ffe3d746ac76cd528d616e5, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 2 + errorMessage: + indentLevel: 0 + control: 1 + audioSource: {fileID: 1280611024} + startVolume: 1 + endVolume: 1 + fadeDuration: 0 + waitUntilFinished: 0 +--- !u!114 &154271136 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 154271128} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bc30c92f7ffe3d746ac76cd528d616e5, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + errorMessage: + indentLevel: 0 + control: 1 + audioSource: {fileID: 2113119600} + startVolume: 1 + endVolume: 1 + fadeDuration: 0 + waitUntilFinished: 0 +--- !u!114 &154271137 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 154271128} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 154271132} +--- !u!1 &353260577 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 353260578} + - 114: {fileID: 353260582} + - 114: {fileID: 353260581} + - 114: {fileID: 353260580} + - 114: {fileID: 353260579} + m_Layer: 0 + m_Name: TestComponent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &353260578 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 353260577} + 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: 2109416473} + m_RootOrder: 3 +--- !u!114 &353260579 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 353260577} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8bafa54482a87ac4cbd7ff1bfd1ac93a, type: 3} + m_Name: + m_EditorClassIdentifier: + checkAfterTime: 3 + repeatCheckTime: 0 + repeatEveryTime: 1 + checkAfterFrames: 1 + repeatCheckFrame: 1 + repeatEveryFrame: 1 + hasFailed: 0 + checkMethods: 1 + m_ActionBase: {fileID: 141331629} + checksPerformed: 0 +--- !u!114 &353260580 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 353260577} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8bafa54482a87ac4cbd7ff1bfd1ac93a, type: 3} + m_Name: + m_EditorClassIdentifier: + checkAfterTime: 3 + repeatCheckTime: 0 + repeatEveryTime: 1 + checkAfterFrames: 1 + repeatCheckFrame: 1 + repeatEveryFrame: 1 + hasFailed: 0 + checkMethods: 1 + m_ActionBase: {fileID: 665292077} + checksPerformed: 0 +--- !u!114 &353260581 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 353260577} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8bafa54482a87ac4cbd7ff1bfd1ac93a, type: 3} + m_Name: + m_EditorClassIdentifier: + checkAfterTime: 1 + repeatCheckTime: 0 + repeatEveryTime: 1 + checkAfterFrames: 1 + repeatCheckFrame: 1 + repeatEveryFrame: 1 + hasFailed: 0 + checkMethods: 1 + m_ActionBase: {fileID: 1297950424} + checksPerformed: 0 +--- !u!114 &353260582 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 353260577} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8bafa54482a87ac4cbd7ff1bfd1ac93a, type: 3} + m_Name: + m_EditorClassIdentifier: + checkAfterTime: 1 + repeatCheckTime: 0 + repeatEveryTime: 1 + checkAfterFrames: 1 + repeatCheckFrame: 1 + repeatEveryFrame: 1 + hasFailed: 0 + checkMethods: 1 + m_ActionBase: {fileID: 706075662} + checksPerformed: 0 --- !u!1 &641282520 GameObject: m_ObjectHideFlags: 0 @@ -261,6 +596,40 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 2 +--- !u!114 &665292077 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2586c8e41f35d2f4fadde53020bf4207, type: 3} + m_Name: + m_EditorClassIdentifier: + go: {fileID: 2113119598} + thisPropertyPath: AudioSource.isPlaying + compareToType: 1 + other: {fileID: 0} + otherPropertyPath: + constantValueGeneric: 0 +--- !u!114 &706075662 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2586c8e41f35d2f4fadde53020bf4207, type: 3} + m_Name: + m_EditorClassIdentifier: + go: {fileID: 2113119598} + thisPropertyPath: AudioSource.isPlaying + compareToType: 1 + other: {fileID: 0} + otherPropertyPath: + constantValueGeneric: 1 --- !u!114 &809764427 MonoBehaviour: m_ObjectHideFlags: 0 @@ -318,6 +687,120 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 +--- !u!1 &1280611022 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1280611023} + - 82: {fileID: 1280611024} + m_Layer: 0 + m_Name: Audio Source 2 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1280611023 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1280611022} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -.320000172, y: -13.6900005, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 2109416473} + m_RootOrder: 2 +--- !u!82 &1280611024 +AudioSource: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1280611022} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 8300000, guid: 4740988b391ff49bfbb897b60a0bf268, type: 3} + m_PlayOnAwake: 1 + 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 &1297950424 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2586c8e41f35d2f4fadde53020bf4207, type: 3} + m_Name: + m_EditorClassIdentifier: + go: {fileID: 1280611022} + thisPropertyPath: AudioSource.isPlaying + compareToType: 1 + other: {fileID: 0} + otherPropertyPath: + constantValueGeneric: 1 --- !u!1 &1602367571 GameObject: m_ObjectHideFlags: 0 @@ -333,7 +816,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!114 &1602367572 MonoBehaviour: m_ObjectHideFlags: 0 @@ -471,7 +954,7 @@ MonoBehaviour: y: -340 width: 1114 height: 859 - selectedBlock: {fileID: 0} + selectedBlock: {fileID: 1716415746} selectedCommands: [] variables: [] description: "This is a manual test. \nClick through the Say dialog and listen to @@ -503,8 +986,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1716415749 @@ -529,8 +1011,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1716415750 @@ -556,8 +1037,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1716415751 @@ -583,8 +1063,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1716415752 @@ -609,8 +1088,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &1716415753 @@ -635,7 +1113,156 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeWhenDone: 1 waitForClick: 1 setSayDialog: {fileID: 0} +--- !u!1 &2109416471 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 2109416473} + - 114: {fileID: 2109416472} + m_Layer: 0 + m_Name: ControlAudioTest + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &2109416472 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2109416471} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b1dba0b27b0864740a8720e920aa88c0, type: 3} + m_Name: + m_EditorClassIdentifier: + timeout: 5 + ignored: 0 + succeedAfterAllAssertionsAreExecuted: 1 + expectException: 0 + expectedExceptionList: + succeedWhenExceptionIsThrown: 0 + includedPlatforms: -1 + platformsToIgnore: [] + dynamic: 0 + dynamicTypeName: +--- !u!4 &2109416473 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2109416471} + 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: 154271129} + - {fileID: 2113119599} + - {fileID: 1280611023} + - {fileID: 353260578} + m_Father: {fileID: 0} + m_RootOrder: 3 +--- !u!1 &2113119598 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 2113119599} + - 82: {fileID: 2113119600} + m_Layer: 0 + m_Name: Audio Source 1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2113119599 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2113119598} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -.320000172, y: -13.6900005, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 2109416473} + m_RootOrder: 1 +--- !u!82 &2113119600 +AudioSource: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2113119598} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 8300000, guid: 98d045067b3b7428c842dab1285b43a1, type: 3} + m_PlayOnAwake: 1 + 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 diff --git a/Assets/Tests/Narrative/NarrativeTests.unity b/Assets/Tests/Narrative/NarrativeTests.unity index 7dbb3557..502738ed 100644 --- a/Assets/Tests/Narrative/NarrativeTests.unity +++ b/Assets/Tests/Narrative/NarrativeTests.unity @@ -114,7 +114,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} m_Name: m_EditorClassIdentifier: - selectedFlowchart: {fileID: 24983358} + selectedFlowchart: {fileID: 861253873} --- !u!4 &11556238 Transform: m_ObjectHideFlags: 1 @@ -127,6 +127,90 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 +--- !u!1 &18001252 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 148914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 18001253} + - 222: {fileID: 18001256} + - 114: {fileID: 18001255} + - 114: {fileID: 18001254} + m_Layer: 5 + m_Name: Image + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &18001253 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22448914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 18001252} + 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: 700088255} + 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!114 &18001254 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11439142, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 18001252} + 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 &18001255 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11448914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 18001252} + 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 &18001256 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22248914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 18001252} --- !u!1 &24983354 GameObject: m_ObjectHideFlags: 0 @@ -139,6 +223,19 @@ GameObject: - 114: {fileID: 24983357} - 114: {fileID: 24983356} - 114: {fileID: 24983355} + - 114: {fileID: 24983361} + - 114: {fileID: 24983362} + - 114: {fileID: 24983360} + - 114: {fileID: 24983365} + - 114: {fileID: 24983364} + - 114: {fileID: 24983367} + - 114: {fileID: 24983366} + - 114: {fileID: 24983368} + - 114: {fileID: 24983363} + - 114: {fileID: 24983369} + - 114: {fileID: 24983372} + - 114: {fileID: 24983370} + - 114: {fileID: 24983373} m_Layer: 0 m_Name: Flowchart m_TagString: Untagged @@ -148,7 +245,7 @@ GameObject: m_IsActive: 1 --- !u!114 &24983355 MonoBehaviour: - m_ObjectHideFlags: 0 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 24983354} @@ -160,7 +257,11 @@ MonoBehaviour: itemId: 1 errorMessage: indentLevel: 0 - storyText: Write out some say text + storyText: 'wi test{m=DoTest}{wi} + + wc test{m=DoTest}{wc} + + exit{m=DoTest}{x}{m=DoTest}' description: character: {fileID: 0} portrait: {fileID: 0} @@ -168,8 +269,7 @@ MonoBehaviour: showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} --- !u!114 &24983356 @@ -199,15 +299,17 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 67 - y: 69 + x: 66 + y: 71 width: 120 height: 40 itemId: 0 - blockName: New Block + blockName: Start description: eventHandler: {fileID: 24983356} commandList: + - {fileID: 24983373} + - {fileID: 24983368} - {fileID: 24983355} --- !u!114 &24983358 MonoBehaviour: @@ -225,17 +327,16 @@ MonoBehaviour: scrollPos: {x: 0, y: 0} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 - blockViewHeight: 400 + blockViewHeight: 280 zoom: 1 scrollViewRect: serializedVersion: 2 - x: -343 - y: -340 - width: 1114 - height: 859 + x: -350 + y: -350 + width: 1289 + height: 869 selectedBlock: {fileID: 24983357} - selectedCommands: - - {fileID: 24983355} + selectedCommands: [] variables: [] description: stepPause: 0 @@ -254,7 +355,395 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 1731000812} - m_RootOrder: 0 + m_RootOrder: 1 +--- !u!114 &24983360 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3315ad2ebb85443909a1203d56d9344e, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 5 + errorMessage: + indentLevel: 0 + duration: 2 +--- !u!114 &24983361 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 245 + y: 68 + width: 120 + height: 40 + itemId: 3 + blockName: Do Input + description: + eventHandler: {fileID: 24983363} + commandList: + - {fileID: 24983360} + - {fileID: 24983362} + - {fileID: 24983365} + - {fileID: 24983364} + - {fileID: 24983367} + - {fileID: 24983366} +--- !u!114 &24983362 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 688e35811870d403f9e2b1ab2a699d98, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 4 + errorMessage: + indentLevel: 0 + targetObject: {fileID: 1066357890} + targetComponentAssemblyName: Fungus.DialogInput, Assembly-CSharp, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + targetComponentFullname: UnityEngine.Component[] + targetComponentText: DialogInput + targetMethod: SetDialogClickedFlag + targetMethodText: 'SetDialogClickedFlag (): Void' + methodParameters: [] + saveReturnValue: 0 + returnValueVariableKey: + returnValueType: System.Void + showInherited: 0 + callMode: 0 +--- !u!114 &24983363 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 24983361} +--- !u!114 &24983364 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 688e35811870d403f9e2b1ab2a699d98, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 7 + errorMessage: + indentLevel: 0 + targetObject: {fileID: 1066357890} + targetComponentAssemblyName: Fungus.DialogInput, Assembly-CSharp, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + targetComponentFullname: UnityEngine.Component[] + targetComponentText: DialogInput + targetMethod: SetDialogClickedFlag + targetMethodText: 'SetDialogClickedFlag (): Void' + methodParameters: [] + saveReturnValue: 0 + returnValueVariableKey: + returnValueType: System.Void + showInherited: 0 + callMode: 0 +--- !u!114 &24983365 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3315ad2ebb85443909a1203d56d9344e, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 6 + errorMessage: + indentLevel: 0 + duration: 2 +--- !u!114 &24983366 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 688e35811870d403f9e2b1ab2a699d98, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 9 + errorMessage: + indentLevel: 0 + targetObject: {fileID: 1066357890} + targetComponentAssemblyName: Fungus.DialogInput, Assembly-CSharp, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + targetComponentFullname: UnityEngine.Component[] + targetComponentText: DialogInput + targetMethod: SetDialogClickedFlag + targetMethodText: 'SetDialogClickedFlag (): Void' + methodParameters: [] + saveReturnValue: 0 + returnValueVariableKey: + returnValueType: System.Void + showInherited: 0 + callMode: 0 +--- !u!114 &24983367 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3315ad2ebb85443909a1203d56d9344e, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 8 + errorMessage: + indentLevel: 0 + duration: 2 +--- !u!114 &24983368 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 10 + errorMessage: + indentLevel: 0 + storyText: Wait for click off{m=DoTest} + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeOut: 1 + waitForClick: 0 + setSayDialog: {fileID: 0} +--- !u!114 &24983369 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 419 + y: 70 + width: 120 + height: 40 + itemId: 11 + blockName: DoTest + description: + eventHandler: {fileID: 24983372} + commandList: + - {fileID: 24983370} +--- !u!114 &24983370 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 688e35811870d403f9e2b1ab2a699d98, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 12 + errorMessage: + indentLevel: 0 + targetObject: {fileID: 401634244} + targetComponentAssemblyName: SayTest, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, + PublicKeyToken=null + targetComponentFullname: UnityEngine.Component[] + targetComponentText: SayTest + targetMethod: TestPassed + targetMethodText: 'TestPassed (): Void' + methodParameters: [] + saveReturnValue: 0 + returnValueVariableKey: + returnValueType: System.Void + showInherited: 0 + callMode: 0 +--- !u!114 &24983372 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2d7d417659cd54a6787f70f763950c34, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 24983369} + message: DoTest +--- !u!114 &24983373 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d65d551a201c94bc79950076ff3eaf2e, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 14 + errorMessage: + indentLevel: 0 + sayDialog: {fileID: 1066357895} +--- !u!1 &28716239 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 180152, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 28716240} + - 222: {fileID: 28716243} + - 114: {fileID: 28716242} + - 114: {fileID: 28716241} + m_Layer: 5 + m_Name: Continue + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &28716240 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22433354, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 28716239} + 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: 1665408007} + m_Father: {fileID: 1648578757} + 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 &28716241 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11419088, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 28716239} + 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: 28716242} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1090798154} + 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 &28716242 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11493918, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 28716239} + 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 &28716243 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22268826, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 28716239} --- !u!1 &41636568 GameObject: m_ObjectHideFlags: 0 @@ -329,24 +818,352 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 1 ---- !u!1 &290123699 +--- !u!1 &93721126 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + m_PrefabParentObject: {fileID: 188894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 4 m_Component: - - 4: {fileID: 290123701} - - 114: {fileID: 290123700} - m_Layer: 0 - m_Name: SherlockCharacter + - 224: {fileID: 93721127} + - 222: {fileID: 93721130} + - 114: {fileID: 93721128} + - 114: {fileID: 93721129} + m_Layer: 5 + m_Name: StoryText m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!114 &290123700 -MonoBehaviour: +--- !u!224 &93721127 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 93721126} + 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: 1024293039} + 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 &93721128 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 93721126} + 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!114 &93721129 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11439138, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 93721126} + 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!222 &93721130 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22288894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 93721126} +--- !u!1 &134022279 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 134022280} + - 222: {fileID: 134022282} + - 114: {fileID: 134022281} + m_Layer: 5 + m_Name: NameText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &134022280 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 134022279} + 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: 700088255} + 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 &134022281 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 134022279} + 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 &134022282 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22288898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 134022279} +--- !u!114 &137767004 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2586c8e41f35d2f4fadde53020bf4207, type: 3} + m_Name: + m_EditorClassIdentifier: + go: {fileID: 1714427702} + thisPropertyPath: AudioSource.isPlaying + compareToType: 1 + other: {fileID: 0} + otherPropertyPath: + constantValueGeneric: 1 +--- !u!114 &147068410 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2586c8e41f35d2f4fadde53020bf4207, type: 3} + m_Name: + m_EditorClassIdentifier: + go: {fileID: 1714427702} + thisPropertyPath: AudioSource.isPlaying + compareToType: 1 + other: {fileID: 0} + otherPropertyPath: + constantValueGeneric: 1 +--- !u!114 &183204959 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2586c8e41f35d2f4fadde53020bf4207, type: 3} + m_Name: + m_EditorClassIdentifier: + go: {fileID: 1714427702} + thisPropertyPath: AudioSource.isPlaying + compareToType: 1 + other: {fileID: 0} + otherPropertyPath: + constantValueGeneric: 1 +--- !u!1 &206980752 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 180152, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 206980756} + - 222: {fileID: 206980755} + - 114: {fileID: 206980754} + - 114: {fileID: 206980753} + m_Layer: 5 + m_Name: Continue + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &206980753 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11419088, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 206980752} + 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: 206980754} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1125936940} + 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 &206980754 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11493918, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 206980752} + 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 &206980755 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22268826, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 206980752} +--- !u!224 &206980756 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22433354, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 206980752} + 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: 2101400351} + m_Father: {fileID: 700088255} + 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!1 &290123699 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 290123701} + - 114: {fileID: 290123700} + m_Layer: 0 + m_Name: SherlockCharacter + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &290123700 +MonoBehaviour: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} @@ -380,6 +1197,95 @@ Transform: m_Children: [] m_Father: {fileID: 2084461895} m_RootOrder: 1 +--- !u!1 &319877265 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 319877266} + - 222: {fileID: 319877269} + - 114: {fileID: 319877267} + - 114: {fileID: 319877268} + m_Layer: 5 + m_Name: StoryText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &319877266 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 319877265} + 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: 700088255} + 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 &319877267 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 319877265} + 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!114 &319877268 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11439138, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 319877265} + 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!222 &319877269 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22288894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 319877265} --- !u!224 &325077208 stripped RectTransform: m_PrefabParentObject: {fileID: 22410280, guid: c6289d5f8fa843145a2355af9cb09719, @@ -437,695 +1343,1122 @@ MonoBehaviour: - {fileID: 21300000, guid: b498a62f179e149be9515ba5614ccfa3, type: 3} portraitsFace: 2 description: ---- !u!1 &891159641 +--- !u!1 &401634244 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 142980, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 4 m_Component: - - 4: {fileID: 891159645} - - 114: {fileID: 891159642} - - 114: {fileID: 891159643} - - 114: {fileID: 891159676} - - 114: {fileID: 891159675} - - 114: {fileID: 891159674} - - 114: {fileID: 891159673} - - 114: {fileID: 891159672} - - 114: {fileID: 891159671} - - 114: {fileID: 891159670} - - 114: {fileID: 891159669} - - 114: {fileID: 891159668} - - 114: {fileID: 891159667} - - 114: {fileID: 891159666} - - 114: {fileID: 891159665} - - 114: {fileID: 891159664} - - 114: {fileID: 891159663} - - 114: {fileID: 891159662} - - 114: {fileID: 891159661} - - 114: {fileID: 891159646} - - 114: {fileID: 891159648} - - 114: {fileID: 891159647} - - 114: {fileID: 891159649} - - 114: {fileID: 891159651} - - 114: {fileID: 891159644} - - 114: {fileID: 891159654} - - 114: {fileID: 891159653} - - 114: {fileID: 891159652} - - 114: {fileID: 891159650} - - 114: {fileID: 891159655} + - 4: {fileID: 401634245} + - 114: {fileID: 401634246} + - 114: {fileID: 401634247} m_Layer: 0 - m_Name: Flowchart + m_Name: TestAssertions m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!114 &891159642 +--- !u!4 &401634245 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 401634244} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 642.626648, y: 110.301666, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1731000812} + m_RootOrder: 0 +--- !u!114 &401634246 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 11430050, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 401634244} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} + m_Script: {fileID: 11500000, guid: 8bafa54482a87ac4cbd7ff1bfd1ac93a, type: 3} m_Name: m_EditorClassIdentifier: - version: 1.0 - scrollPos: {x: 0, y: 0} - variablesScrollPos: {x: 0, y: 0} - variablesExpanded: 1 - blockViewHeight: 505 - zoom: 1 - scrollViewRect: - serializedVersion: 2 - x: -350 - y: -350 - width: 1502 - height: 989 - selectedBlock: {fileID: 891159676} - selectedCommands: - - {fileID: 891159665} - variables: [] - description: - stepPause: 0 - colorCommands: 1 - hideComponents: 1 - saveSelection: 1 - localizationId: ---- !u!114 &891159643 + checkAfterTime: 8 + repeatCheckTime: 0 + repeatEveryTime: 1 + checkAfterFrames: 1 + repeatCheckFrame: 1 + repeatEveryFrame: 1 + hasFailed: 0 + checkMethods: 1 + m_ActionBase: {fileID: 1210810389} + checksPerformed: 0 +--- !u!114 &401634247 MonoBehaviour: - m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 11433304, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, - type: 2} + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 401634244} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Script: {fileID: 11500000, guid: abf8bf8daccdf46b4afc52dcfd59a479, type: 3} m_Name: m_EditorClassIdentifier: - nodeRect: - serializedVersion: 2 - x: 372 - y: 87 - width: 120 - height: 40 - itemId: 0 - blockName: Start - description: - eventHandler: {fileID: 891159651} - commandList: - - {fileID: 891159646} - - {fileID: 891159655} - - {fileID: 891159647} - - {fileID: 891159648} ---- !u!114 &891159644 + passCount: 0 +--- !u!1 &594837298 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 594837300} + - 114: {fileID: 594837299} + - 114: {fileID: 594837301} + - 114: {fileID: 594837302} + - 114: {fileID: 594837303} + - 114: {fileID: 594837304} + - 114: {fileID: 594837305} + m_Layer: 0 + m_Name: TestAssertions + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &594837299 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 594837298} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Script: {fileID: 11500000, guid: 8bafa54482a87ac4cbd7ff1bfd1ac93a, type: 3} m_Name: m_EditorClassIdentifier: - nodeRect: - serializedVersion: 2 - x: 540 - y: 142 - width: 120 - height: 40 - itemId: 43 - blockName: TestStage - description: - eventHandler: {fileID: 0} - commandList: - - {fileID: 891159654} - - {fileID: 891159653} - - {fileID: 891159652} - - {fileID: 891159650} ---- !u!4 &891159645 + checkAfterTime: .5 + repeatCheckTime: 0 + repeatEveryTime: 1 + checkAfterFrames: 1 + repeatCheckFrame: 1 + repeatEveryFrame: 1 + hasFailed: 0 + checkMethods: 1 + m_ActionBase: {fileID: 147068410} + checksPerformed: 0 +--- !u!4 &594837300 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 467082, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 594837298} 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: 2084461895} - m_RootOrder: 3 ---- !u!114 &891159646 + m_Father: {fileID: 1929911610} + m_RootOrder: 2 +--- !u!114 &594837301 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 594837298} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 050fb9e6e72f442b3b883da8a965bdeb, type: 3} + m_Script: {fileID: 11500000, guid: 8bafa54482a87ac4cbd7ff1bfd1ac93a, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 33 - errorMessage: - indentLevel: 0 - targetFlowchart: {fileID: 0} - targetBlock: {fileID: 891159676} - callMode: 2 ---- !u!114 &891159647 + checkAfterTime: 2.5 + repeatCheckTime: 0 + repeatEveryTime: 1 + checkAfterFrames: 1 + repeatCheckFrame: 1 + repeatEveryFrame: 1 + hasFailed: 0 + checkMethods: 1 + m_ActionBase: {fileID: 183204959} + checksPerformed: 0 +--- !u!114 &594837302 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 594837298} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 43af40f40b38a4deda25df4b1a6cef63, type: 3} + m_Script: {fileID: 11500000, guid: 8bafa54482a87ac4cbd7ff1bfd1ac93a, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 35 - errorMessage: - indentLevel: 0 - testType: 6 ---- !u!114 &891159648 + checkAfterTime: 6.5 + repeatCheckTime: 0 + repeatEveryTime: 1 + checkAfterFrames: 1 + repeatCheckFrame: 1 + repeatEveryFrame: 1 + hasFailed: 0 + checkMethods: 1 + m_ActionBase: {fileID: 1300618896} + checksPerformed: 0 +--- !u!114 &594837303 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 594837298} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 050fb9e6e72f442b3b883da8a965bdeb, type: 3} + m_Script: {fileID: 11500000, guid: 8bafa54482a87ac4cbd7ff1bfd1ac93a, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 34 - errorMessage: - indentLevel: 0 - targetFlowchart: {fileID: 0} - targetBlock: {fileID: 891159676} - callMode: 2 ---- !u!114 &891159649 + checkAfterTime: 8.5 + repeatCheckTime: 0 + repeatEveryTime: 1 + checkAfterFrames: 1 + repeatCheckFrame: 1 + repeatEveryFrame: 1 + hasFailed: 0 + checkMethods: 1 + m_ActionBase: {fileID: 137767004} + checksPerformed: 0 +--- !u!114 &594837304 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 594837298} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Script: {fileID: 11500000, guid: 8bafa54482a87ac4cbd7ff1bfd1ac93a, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 36 - errorMessage: - indentLevel: 0 - storyText: Test saying something{x} - description: - character: {fileID: 362523163} - portrait: {fileID: 0} - voiceOverClip: {fileID: 0} - showAlways: 1 - showCount: 1 - extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 - waitForClick: 1 - setSayDialog: {fileID: 0} ---- !u!114 &891159650 + checkAfterTime: 10.5 + repeatCheckTime: 0 + repeatEveryTime: 1 + checkAfterFrames: 1 + repeatCheckFrame: 1 + repeatEveryFrame: 1 + hasFailed: 0 + checkMethods: 1 + m_ActionBase: {fileID: 1613545005} + checksPerformed: 0 +--- !u!114 &594837305 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 594837298} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f1ff0f540016ff64ab1556db6fe1e10f, type: 3} + m_Script: {fileID: 11500000, guid: 8bafa54482a87ac4cbd7ff1bfd1ac93a, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 47 - errorMessage: - indentLevel: 0 - display: 1 - stage: {fileID: 0} - replacedStage: {fileID: 0} - useDefaultSettings: 1 - fadeDuration: 0 - waitUntilFinished: 1 ---- !u!114 &891159651 + checkAfterTime: 12.5 + repeatCheckTime: 0 + repeatEveryTime: 1 + checkAfterFrames: 1 + repeatCheckFrame: 1 + repeatEveryFrame: 1 + hasFailed: 0 + checkMethods: 1 + m_ActionBase: {fileID: 1216870120} + checksPerformed: 0 +--- !u!1 &658513471 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 658513472} + - 222: {fileID: 658513475} + - 114: {fileID: 658513473} + - 114: {fileID: 658513474} + m_Layer: 5 + m_Name: StoryText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &658513472 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 658513471} + 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: 1648578757} + 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 &658513473 MonoBehaviour: - m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 658513471} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - parentBlock: {fileID: 891159643} ---- !u!114 &891159652 + 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!114 &658513474 MonoBehaviour: - m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11439138, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 658513471} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f1ff0f540016ff64ab1556db6fe1e10f, type: 3} + m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 46 - errorMessage: - indentLevel: 0 - display: 2 - stage: {fileID: 0} - replacedStage: {fileID: 0} - useDefaultSettings: 1 - fadeDuration: 0 - waitUntilFinished: 1 ---- !u!114 &891159653 + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 1150 + m_PreferredHeight: 200 + m_FlexibleWidth: 1 + m_FlexibleHeight: -1 +--- !u!222 &658513475 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22288894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 658513471} +--- !u!1 &700088254 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 700088255} + - 222: {fileID: 700088259} + - 114: {fileID: 700088258} + - 225: {fileID: 700088257} + - 114: {fileID: 700088256} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &700088255 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 700088254} + 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: 134022280} + - {fileID: 18001253} + - {fileID: 319877266} + - {fileID: 206980756} + m_Father: {fileID: 1125936941} + 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 &700088256 MonoBehaviour: - m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11478524, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 700088254} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f1ff0f540016ff64ab1556db6fe1e10f, type: 3} + m_Script: {fileID: -1862395651, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 45 - errorMessage: - indentLevel: 0 - display: 1 - stage: {fileID: 0} - replacedStage: {fileID: 0} - useDefaultSettings: 1 - fadeDuration: 0 - waitUntilFinished: 1 ---- !u!114 &891159654 + m_Delegates: + - eventID: 4 + callback: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1125936940} + 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 &700088257 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22583964, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 700088254} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &700088258 MonoBehaviour: - m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488904, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 700088254} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f1ff0f540016ff64ab1556db6fe1e10f, type: 3} + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 44 - errorMessage: - indentLevel: 0 - display: 2 - stage: {fileID: 0} - replacedStage: {fileID: 0} - useDefaultSettings: 1 - fadeDuration: 0 - waitUntilFinished: 1 ---- !u!114 &891159655 + 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 &700088259 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22288900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 700088254} +--- !u!1 &736071346 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 142980, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 736071351} + - 114: {fileID: 736071350} + - 114: {fileID: 736071349} + - 114: {fileID: 736071348} + - 114: {fileID: 736071347} + - 114: {fileID: 736071352} + - 114: {fileID: 736071359} + - 114: {fileID: 736071355} + - 114: {fileID: 736071358} + - 114: {fileID: 736071353} + - 114: {fileID: 736071354} + - 114: {fileID: 736071357} + - 114: {fileID: 736071356} + - 114: {fileID: 736071360} + - 114: {fileID: 736071362} + - 114: {fileID: 736071361} + - 114: {fileID: 736071364} + - 114: {fileID: 736071363} + - 114: {fileID: 736071366} + - 114: {fileID: 736071365} + - 114: {fileID: 736071368} + - 114: {fileID: 736071367} + m_Layer: 0 + m_Name: Flowchart + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &736071347 MonoBehaviour: m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 050fb9e6e72f442b3b883da8a965bdeb, type: 3} + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 48 + itemId: 1 errorMessage: indentLevel: 0 - targetFlowchart: {fileID: 0} - targetBlock: {fileID: 891159644} - callMode: 2 ---- !u!114 &891159661 + storyText: 'Play sound effect from dialog{wc} + + And another line which is very long so tests looping works ok without any problems + whatsoever' + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeOut: 1 + waitForClick: 1 + setSayDialog: {fileID: 0} +--- !u!114 &736071348 MonoBehaviour: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 11462346, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 43af40f40b38a4deda25df4b1a6cef63, type: 3} + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 32 - errorMessage: - indentLevel: 0 - testType: 5 ---- !u!114 &891159662 + parentBlock: {fileID: 736071349} +--- !u!114 &736071349 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 11433304, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 736071346} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 61 + y: 69 + width: 120 + height: 40 + itemId: 0 + blockName: Start Saying + description: + eventHandler: {fileID: 736071348} + commandList: + - {fileID: 736071359} + - {fileID: 736071347} + - {fileID: 736071352} + - {fileID: 736071360} + - {fileID: 736071366} + - {fileID: 736071365} +--- !u!114 &736071350 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11430050, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 736071346} + m_Enabled: 1 + m_EditorHideFlags: 0 + 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 + blockViewHeight: 513 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: -350 + y: -350 + width: 1121 + height: 870 + selectedBlock: {fileID: 736071355} + selectedCommands: + - {fileID: 736071368} + variables: [] + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: +--- !u!4 &736071351 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 467082, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 736071346} + 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: 1929911610} + m_RootOrder: 0 +--- !u!114 &736071352 MonoBehaviour: m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 31 + itemId: 2 errorMessage: indentLevel: 0 - storyText: Test saying something{x} + storyText: Play voice over audio clip description: - character: {fileID: 290123700} + character: {fileID: 0} portrait: {fileID: 0} - voiceOverClip: {fileID: 0} + voiceOverClip: {fileID: 8300000, guid: 4740988b391ff49bfbb897b60a0bf268, type: 3} showAlways: 1 showCount: 1 extendPrevious: 0 - fadeIn: 0 - fadeOut: 0 + fadeOut: 1 waitForClick: 1 setSayDialog: {fileID: 0} ---- !u!114 &891159663 +--- !u!114 &736071353 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 43af40f40b38a4deda25df4b1a6cef63, type: 3} + m_Script: {fileID: 11500000, guid: 688e35811870d403f9e2b1ab2a699d98, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 30 + itemId: 5 errorMessage: indentLevel: 0 - testType: 4 ---- !u!114 &891159664 + targetObject: {fileID: 1714427702} + targetComponentAssemblyName: Fungus.DialogInput, Assembly-CSharp, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + targetComponentFullname: UnityEngine.Component[] + targetComponentText: DialogInput + targetMethod: SetNextLineFlag + targetMethodText: 'SetNextLineFlag (): Void' + methodParameters: [] + saveReturnValue: 0 + returnValueVariableKey: + returnValueType: System.Void + showInherited: 0 + callMode: 0 +--- !u!114 &736071354 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Script: {fileID: 11500000, guid: 3315ad2ebb85443909a1203d56d9344e, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 29 + itemId: 6 errorMessage: indentLevel: 0 - stage: {fileID: 0} - display: 1 - character: {fileID: 362523163} - replacedCharacter: {fileID: 290123700} - portrait: {fileID: 0} - offset: 0 - fromPosition: {fileID: 0} - toPosition: {fileID: 1439815621} - facing: 2 - useDefaultSettings: 1 - fadeDuration: 0 - moveDuration: .5 - shiftOffset: {x: 100, y: 0} - move: 1 - shiftIntoPlace: 0 - waitUntilFinished: 1 ---- !u!114 &891159665 + duration: 2 +--- !u!114 &736071355 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 28 - errorMessage: - indentLevel: 0 - stage: {fileID: 0} - display: 1 - character: {fileID: 0} - replacedCharacter: {fileID: 290123700} - portrait: {fileID: 21300000, guid: f0a480312d1664a9d9c7749fed3eb1b5, type: 3} - offset: 0 - fromPosition: {fileID: 0} - toPosition: {fileID: 325077208} - facing: 2 - useDefaultSettings: 0 - fadeDuration: 2 - moveDuration: 2 - shiftOffset: {x: 100, y: 0} - move: 1 - shiftIntoPlace: 0 - waitUntilFinished: 1 ---- !u!114 &891159666 + nodeRect: + serializedVersion: 2 + x: 235 + y: 70 + width: 120 + height: 40 + itemId: 4 + blockName: Start Testing + description: + eventHandler: {fileID: 736071358} + commandList: + - {fileID: 736071354} + - {fileID: 736071353} + - {fileID: 736071357} + - {fileID: 736071356} + - {fileID: 736071362} + - {fileID: 736071361} + - {fileID: 736071364} + - {fileID: 736071363} + - {fileID: 736071368} + - {fileID: 736071367} +--- !u!114 &736071356 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 43af40f40b38a4deda25df4b1a6cef63, type: 3} + m_Script: {fileID: 11500000, guid: 688e35811870d403f9e2b1ab2a699d98, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 27 + itemId: 8 errorMessage: indentLevel: 0 - testType: 3 ---- !u!114 &891159667 + targetObject: {fileID: 1714427702} + targetComponentAssemblyName: Fungus.DialogInput, Assembly-CSharp, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + targetComponentFullname: UnityEngine.Component[] + targetComponentText: DialogInput + targetMethod: SetNextLineFlag + targetMethodText: 'SetNextLineFlag (): Void' + methodParameters: [] + saveReturnValue: 0 + returnValueVariableKey: + returnValueType: System.Void + showInherited: 0 + callMode: 0 +--- !u!114 &736071357 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Script: {fileID: 11500000, guid: 3315ad2ebb85443909a1203d56d9344e, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 26 + itemId: 7 errorMessage: indentLevel: 0 - stage: {fileID: 0} - display: 4 - character: {fileID: 362523163} - replacedCharacter: {fileID: 290123700} - portrait: {fileID: 0} - offset: 0 - fromPosition: {fileID: 0} - toPosition: {fileID: 0} - facing: 0 - useDefaultSettings: 1 - fadeDuration: 0 - moveDuration: 1 - shiftOffset: {x: 0, y: 0} - move: 0 - shiftIntoPlace: 0 - waitUntilFinished: 0 ---- !u!114 &891159668 + duration: 4 +--- !u!114 &736071358 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 25 - errorMessage: - indentLevel: 0 - stage: {fileID: 0} - display: 1 - character: {fileID: 290123700} - replacedCharacter: {fileID: 290123700} - portrait: {fileID: 0} - offset: 0 - fromPosition: {fileID: 0} - toPosition: {fileID: 0} - facing: 0 - useDefaultSettings: 1 - fadeDuration: 0 - moveDuration: 1 - shiftOffset: {x: 0, y: 0} - move: 0 - shiftIntoPlace: 0 - waitUntilFinished: 0 ---- !u!114 &891159669 + parentBlock: {fileID: 736071355} +--- !u!114 &736071359 MonoBehaviour: m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 43af40f40b38a4deda25df4b1a6cef63, type: 3} + m_Script: {fileID: 11500000, guid: d65d551a201c94bc79950076ff3eaf2e, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 24 + itemId: 3 errorMessage: indentLevel: 0 - testType: 2 ---- !u!114 &891159670 + sayDialog: {fileID: 1714427708} +--- !u!114 &736071360 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 23 + itemId: 9 errorMessage: indentLevel: 0 - stage: {fileID: 0} - display: 3 - character: {fileID: 362523163} - replacedCharacter: {fileID: 290123700} - portrait: {fileID: 21300000, guid: daa5ae3d727b143f0b42aaa4e6b1e2a5, type: 3} - offset: 0 - fromPosition: {fileID: 0} - toPosition: {fileID: 0} - facing: 1 - useDefaultSettings: 1 - fadeDuration: 0 - moveDuration: 1 - shiftOffset: {x: 0, y: 0} - move: 0 - shiftIntoPlace: 0 - waitUntilFinished: 1 ---- !u!114 &891159671 + storyText: Test sound effect specified per character + description: + character: {fileID: 2009395474} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeOut: 1 + waitForClick: 1 + setSayDialog: {fileID: 0} +--- !u!114 &736071361 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 43af40f40b38a4deda25df4b1a6cef63, type: 3} + m_Script: {fileID: 11500000, guid: 688e35811870d403f9e2b1ab2a699d98, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 22 + itemId: 11 errorMessage: indentLevel: 0 - testType: 1 ---- !u!114 &891159672 + targetObject: {fileID: 1714427702} + targetComponentAssemblyName: Fungus.DialogInput, Assembly-CSharp, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + targetComponentFullname: UnityEngine.Component[] + targetComponentText: DialogInput + targetMethod: SetNextLineFlag + targetMethodText: 'SetNextLineFlag (): Void' + methodParameters: [] + saveReturnValue: 0 + returnValueVariableKey: + returnValueType: System.Void + showInherited: 0 + callMode: 0 +--- !u!114 &736071362 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Script: {fileID: 11500000, guid: 3315ad2ebb85443909a1203d56d9344e, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 21 + itemId: 10 errorMessage: indentLevel: 0 - stage: {fileID: 0} - display: 2 - character: {fileID: 362523163} - replacedCharacter: {fileID: 0} - portrait: {fileID: 0} - offset: 0 - fromPosition: {fileID: 0} - toPosition: {fileID: 0} - facing: 0 - useDefaultSettings: 1 - fadeDuration: 0 - moveDuration: 1 - shiftOffset: {x: 0, y: 0} - move: 0 - shiftIntoPlace: 0 - waitUntilFinished: 1 ---- !u!114 &891159673 + duration: 2 +--- !u!114 &736071363 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 43af40f40b38a4deda25df4b1a6cef63, type: 3} + m_Script: {fileID: 11500000, guid: 688e35811870d403f9e2b1ab2a699d98, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 20 + itemId: 13 errorMessage: indentLevel: 0 - testType: 0 ---- !u!114 &891159674 + targetObject: {fileID: 1714427702} + targetComponentAssemblyName: Fungus.DialogInput, Assembly-CSharp, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + targetComponentFullname: UnityEngine.Component[] + targetComponentText: DialogInput + targetMethod: SetNextLineFlag + targetMethodText: 'SetNextLineFlag (): Void' + methodParameters: [] + saveReturnValue: 0 + returnValueVariableKey: + returnValueType: System.Void + showInherited: 0 + callMode: 0 +--- !u!114 &736071364 MonoBehaviour: - m_ObjectHideFlags: 2 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 736071346} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Script: {fileID: 11500000, guid: 3315ad2ebb85443909a1203d56d9344e, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 19 + itemId: 12 errorMessage: indentLevel: 0 - stage: {fileID: 0} - display: 1 - character: {fileID: 290123700} - replacedCharacter: {fileID: 0} - portrait: {fileID: 21300000, guid: 10cc2fec4b8aa4db983981588b06b591, type: 3} - offset: 0 - fromPosition: {fileID: 0} - toPosition: {fileID: 1029277842} - facing: 1 - useDefaultSettings: 1 - fadeDuration: 0 - moveDuration: 1 - shiftOffset: {x: 0, y: 0} - move: 0 - shiftIntoPlace: 0 - waitUntilFinished: 1 ---- !u!114 &891159675 + duration: 2 +--- !u!114 &736071365 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 736071346} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 15 + errorMessage: + indentLevel: 0 + storyText: Write some audio with beep sounds + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeOut: 1 + waitForClick: 1 + setSayDialog: {fileID: 0} +--- !u!114 &736071366 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 736071346} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 688e35811870d403f9e2b1ab2a699d98, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 14 + errorMessage: + indentLevel: 0 + targetObject: {fileID: 1714427702} + targetComponentAssemblyName: Fungus.WriterAudio, Assembly-CSharp, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + targetComponentFullname: UnityEngine.Component[] + targetComponentText: WriterAudio + targetMethod: SetAudioMode + targetMethodText: 'SetAudioMode (AudioMode): Void' + methodParameters: + - objValue: + typeAssemblyname: Fungus.WriterAudio+AudioMode, Assembly-CSharp, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + typeFullname: Fungus.WriterAudio+AudioMode + intValue: 0 + boolValue: 0 + floatValue: 0 + stringValue: + colorValue: {r: 0, g: 0, b: 0, a: 0} + gameObjectValue: {fileID: 0} + materialValue: {fileID: 0} + objectValue: {fileID: 0} + spriteValue: {fileID: 0} + textureValue: {fileID: 0} + vector2Value: {x: 0, y: 0} + vector3Value: {x: 0, y: 0, z: 0} + variableKey: + saveReturnValue: 0 + returnValueVariableKey: + returnValueType: System.Void + showInherited: 0 + callMode: 0 +--- !u!114 &736071367 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 736071346} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 688e35811870d403f9e2b1ab2a699d98, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 17 + errorMessage: + indentLevel: 0 + targetObject: {fileID: 1714427702} + targetComponentAssemblyName: Fungus.DialogInput, Assembly-CSharp, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + targetComponentFullname: UnityEngine.Component[] + targetComponentText: DialogInput + targetMethod: SetNextLineFlag + targetMethodText: 'SetNextLineFlag (): Void' + methodParameters: [] + saveReturnValue: 0 + returnValueVariableKey: + returnValueType: System.Void + showInherited: 0 + callMode: 0 +--- !u!114 &736071368 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 736071346} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3315ad2ebb85443909a1203d56d9344e, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 16 + errorMessage: + indentLevel: 0 + duration: 2 +--- !u!1 &861253871 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 142980, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 861253872} + - 114: {fileID: 861253873} + - 114: {fileID: 861253875} + - 114: {fileID: 861253877} + - 114: {fileID: 861253876} + - 114: {fileID: 861253874} + - 114: {fileID: 861253878} + - 114: {fileID: 861253881} + - 114: {fileID: 861253880} + - 114: {fileID: 861253879} + m_Layer: 0 + m_Name: Flowchart + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &861253872 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 467082, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 861253871} + 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: 1028729102} + m_RootOrder: 0 +--- !u!114 &861253873 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11430050, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 861253871} + m_Enabled: 1 + m_EditorHideFlags: 0 + 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 + blockViewHeight: 400 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: -350 + y: -352 + width: 1132 + height: 871 + selectedBlock: {fileID: 861253875} + selectedCommands: [] + variables: [] + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: +--- !u!114 &861253874 MonoBehaviour: m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 861253871} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Script: {fileID: 11500000, guid: d65d551a201c94bc79950076ff3eaf2e, type: 3} m_Name: m_EditorClassIdentifier: - itemId: 18 + itemId: 2 errorMessage: indentLevel: 0 - stage: {fileID: 0} - display: 1 - character: {fileID: 362523163} - replacedCharacter: {fileID: 0} - portrait: {fileID: 21300000, guid: b498a62f179e149be9515ba5614ccfa3, type: 3} - offset: 0 - fromPosition: {fileID: 0} - toPosition: {fileID: 325077208} - facing: 2 - useDefaultSettings: 1 - fadeDuration: 0 - moveDuration: 1 - shiftOffset: {x: 0, y: 0} - move: 0 - shiftIntoPlace: 0 - waitUntilFinished: 1 ---- !u!114 &891159676 + sayDialog: {fileID: 1125936944} +--- !u!114 &861253875 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 11433304, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 861253871} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 67 + y: 68 + width: 120 + height: 40 + itemId: 0 + blockName: Start + description: Test interrupting a Say command while it's executing + eventHandler: {fileID: 861253877} + commandList: + - {fileID: 861253874} + - {fileID: 861253876} +--- !u!114 &861253876 MonoBehaviour: m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 891159641} + m_GameObject: {fileID: 861253871} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + errorMessage: + indentLevel: 0 + storyText: Write out a long piece of text that we want to interrupt before it's + finished. + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeOut: 1 + waitForClick: 0 + setSayDialog: {fileID: 0} +--- !u!114 &861253877 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 861253871} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 861253875} +--- !u!114 &861253878 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 861253871} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} @@ -1133,266 +2466,2940 @@ MonoBehaviour: m_EditorClassIdentifier: nodeRect: serializedVersion: 2 - x: 211 - y: 139 + x: 258 + y: 66 width: 120 height: 40 - itemId: 17 - blockName: TestPortraits + itemId: 5 + blockName: Do Stop Call description: - eventHandler: {fileID: 0} + eventHandler: {fileID: 861253881} commandList: - - {fileID: 891159675} - - {fileID: 891159674} - - {fileID: 891159673} - - {fileID: 891159672} - - {fileID: 891159671} - - {fileID: 891159670} - - {fileID: 891159669} - - {fileID: 891159668} - - {fileID: 891159667} - - {fileID: 891159666} - - {fileID: 891159665} - - {fileID: 891159664} - - {fileID: 891159663} - - {fileID: 891159662} - - {fileID: 891159649} - - {fileID: 891159661} ---- !u!1 &991628163 + - {fileID: 861253880} + - {fileID: 861253879} +--- !u!114 &861253879 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 861253871} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 688e35811870d403f9e2b1ab2a699d98, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 7 + errorMessage: + indentLevel: 0 + targetObject: {fileID: 1125936939} + targetComponentAssemblyName: Fungus.SayDialog, Assembly-CSharp, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + targetComponentFullname: UnityEngine.Component[] + targetComponentText: SayDialog + targetMethod: Stop + targetMethodText: 'Stop (): Void' + methodParameters: [] + saveReturnValue: 0 + returnValueVariableKey: + returnValueType: System.Void + showInherited: 0 + callMode: 0 +--- !u!114 &861253880 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 861253871} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3315ad2ebb85443909a1203d56d9344e, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 6 + errorMessage: + indentLevel: 0 + duration: .5 +--- !u!114 &861253881 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 861253871} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 861253878} +--- !u!1 &891159641 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 142980, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 891159645} + - 114: {fileID: 891159642} + - 114: {fileID: 891159643} + - 114: {fileID: 891159676} + - 114: {fileID: 891159675} + - 114: {fileID: 891159674} + - 114: {fileID: 891159673} + - 114: {fileID: 891159672} + - 114: {fileID: 891159671} + - 114: {fileID: 891159670} + - 114: {fileID: 891159669} + - 114: {fileID: 891159668} + - 114: {fileID: 891159667} + - 114: {fileID: 891159666} + - 114: {fileID: 891159665} + - 114: {fileID: 891159664} + - 114: {fileID: 891159663} + - 114: {fileID: 891159662} + - 114: {fileID: 891159661} + - 114: {fileID: 891159646} + - 114: {fileID: 891159648} + - 114: {fileID: 891159647} + - 114: {fileID: 891159649} + - 114: {fileID: 891159651} + - 114: {fileID: 891159644} + - 114: {fileID: 891159654} + - 114: {fileID: 891159653} + - 114: {fileID: 891159652} + - 114: {fileID: 891159650} + - 114: {fileID: 891159655} + - 114: {fileID: 891159656} + m_Layer: 0 + m_Name: Flowchart + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &891159642 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11430050, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + 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 + blockViewHeight: 505 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: -350 + y: -350 + width: 1502 + height: 989 + selectedBlock: {fileID: 891159643} + selectedCommands: + - {fileID: 891159656} + variables: [] + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: +--- !u!114 &891159643 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 11433304, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 372 + y: 87 + width: 120 + height: 40 + itemId: 0 + blockName: Start + description: + eventHandler: {fileID: 891159651} + commandList: + - {fileID: 891159656} + - {fileID: 891159646} + - {fileID: 891159655} + - {fileID: 891159647} + - {fileID: 891159648} +--- !u!114 &891159644 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 540 + y: 142 + width: 120 + height: 40 + itemId: 43 + blockName: TestStage + description: + eventHandler: {fileID: 0} + commandList: + - {fileID: 891159654} + - {fileID: 891159653} + - {fileID: 891159652} + - {fileID: 891159650} +--- !u!4 &891159645 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 467082, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + 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: 2084461895} + m_RootOrder: 3 +--- !u!114 &891159646 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 050fb9e6e72f442b3b883da8a965bdeb, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 33 + errorMessage: + indentLevel: 0 + targetFlowchart: {fileID: 0} + targetBlock: {fileID: 891159676} + callMode: 2 +--- !u!114 &891159647 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 43af40f40b38a4deda25df4b1a6cef63, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 35 + errorMessage: + indentLevel: 0 + testType: 6 +--- !u!114 &891159648 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 050fb9e6e72f442b3b883da8a965bdeb, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 34 + errorMessage: + indentLevel: 0 + targetFlowchart: {fileID: 0} + targetBlock: {fileID: 891159676} + callMode: 2 +--- !u!114 &891159649 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 36 + errorMessage: + indentLevel: 0 + storyText: Test saying something{x} + description: + character: {fileID: 362523163} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeOut: 1 + waitForClick: 1 + setSayDialog: {fileID: 0} +--- !u!114 &891159650 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f1ff0f540016ff64ab1556db6fe1e10f, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 47 + errorMessage: + indentLevel: 0 + display: 1 + stage: {fileID: 0} + replacedStage: {fileID: 0} + useDefaultSettings: 1 + fadeDuration: 0 + waitUntilFinished: 1 +--- !u!114 &891159651 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 891159643} +--- !u!114 &891159652 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f1ff0f540016ff64ab1556db6fe1e10f, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 46 + errorMessage: + indentLevel: 0 + display: 2 + stage: {fileID: 0} + replacedStage: {fileID: 0} + useDefaultSettings: 1 + fadeDuration: 0 + waitUntilFinished: 1 +--- !u!114 &891159653 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f1ff0f540016ff64ab1556db6fe1e10f, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 45 + errorMessage: + indentLevel: 0 + display: 1 + stage: {fileID: 0} + replacedStage: {fileID: 0} + useDefaultSettings: 1 + fadeDuration: 0 + waitUntilFinished: 1 +--- !u!114 &891159654 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f1ff0f540016ff64ab1556db6fe1e10f, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 44 + errorMessage: + indentLevel: 0 + display: 2 + stage: {fileID: 0} + replacedStage: {fileID: 0} + useDefaultSettings: 1 + fadeDuration: 0 + waitUntilFinished: 1 +--- !u!114 &891159655 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 050fb9e6e72f442b3b883da8a965bdeb, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 48 + errorMessage: + indentLevel: 0 + targetFlowchart: {fileID: 0} + targetBlock: {fileID: 891159644} + callMode: 2 +--- !u!114 &891159656 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d65d551a201c94bc79950076ff3eaf2e, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 49 + errorMessage: + indentLevel: 0 + sayDialog: {fileID: 1090798156} +--- !u!114 &891159661 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 43af40f40b38a4deda25df4b1a6cef63, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 32 + errorMessage: + indentLevel: 0 + testType: 5 +--- !u!114 &891159662 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 31 + errorMessage: + indentLevel: 0 + storyText: Test saying something{x} + description: + character: {fileID: 290123700} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeOut: 1 + waitForClick: 1 + setSayDialog: {fileID: 0} +--- !u!114 &891159663 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 43af40f40b38a4deda25df4b1a6cef63, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 30 + errorMessage: + indentLevel: 0 + testType: 4 +--- !u!114 &891159664 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 29 + errorMessage: + indentLevel: 0 + stage: {fileID: 0} + display: 1 + character: {fileID: 362523163} + replacedCharacter: {fileID: 290123700} + portrait: {fileID: 0} + offset: 0 + fromPosition: {fileID: 0} + toPosition: {fileID: 1439815621} + facing: 2 + useDefaultSettings: 1 + fadeDuration: 0 + moveDuration: .5 + shiftOffset: {x: 100, y: 0} + move: 1 + shiftIntoPlace: 0 + waitUntilFinished: 1 +--- !u!114 &891159665 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 28 + errorMessage: + indentLevel: 0 + stage: {fileID: 0} + display: 1 + character: {fileID: 362523163} + replacedCharacter: {fileID: 290123700} + portrait: {fileID: 21300000, guid: f0a480312d1664a9d9c7749fed3eb1b5, type: 3} + offset: 0 + fromPosition: {fileID: 0} + toPosition: {fileID: 325077208} + facing: 2 + useDefaultSettings: 0 + fadeDuration: 2 + moveDuration: 2 + shiftOffset: {x: 100, y: 0} + move: 1 + shiftIntoPlace: 0 + waitUntilFinished: 1 +--- !u!114 &891159666 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 43af40f40b38a4deda25df4b1a6cef63, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 27 + errorMessage: + indentLevel: 0 + testType: 3 +--- !u!114 &891159667 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 26 + errorMessage: + indentLevel: 0 + stage: {fileID: 0} + display: 4 + character: {fileID: 362523163} + replacedCharacter: {fileID: 290123700} + portrait: {fileID: 0} + offset: 0 + fromPosition: {fileID: 0} + toPosition: {fileID: 0} + facing: 0 + useDefaultSettings: 1 + fadeDuration: 0 + moveDuration: 1 + shiftOffset: {x: 0, y: 0} + move: 0 + shiftIntoPlace: 0 + waitUntilFinished: 0 +--- !u!114 &891159668 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 25 + errorMessage: + indentLevel: 0 + stage: {fileID: 0} + display: 1 + character: {fileID: 290123700} + replacedCharacter: {fileID: 290123700} + portrait: {fileID: 0} + offset: 0 + fromPosition: {fileID: 0} + toPosition: {fileID: 0} + facing: 0 + useDefaultSettings: 1 + fadeDuration: 0 + moveDuration: 1 + shiftOffset: {x: 0, y: 0} + move: 0 + shiftIntoPlace: 0 + waitUntilFinished: 0 +--- !u!114 &891159669 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 43af40f40b38a4deda25df4b1a6cef63, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 24 + errorMessage: + indentLevel: 0 + testType: 2 +--- !u!114 &891159670 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 23 + errorMessage: + indentLevel: 0 + stage: {fileID: 0} + display: 3 + character: {fileID: 362523163} + replacedCharacter: {fileID: 290123700} + portrait: {fileID: 21300000, guid: daa5ae3d727b143f0b42aaa4e6b1e2a5, type: 3} + offset: 0 + fromPosition: {fileID: 0} + toPosition: {fileID: 0} + facing: 1 + useDefaultSettings: 1 + fadeDuration: 0 + moveDuration: 1 + shiftOffset: {x: 0, y: 0} + move: 0 + shiftIntoPlace: 0 + waitUntilFinished: 1 +--- !u!114 &891159671 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 43af40f40b38a4deda25df4b1a6cef63, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 22 + errorMessage: + indentLevel: 0 + testType: 1 +--- !u!114 &891159672 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 21 + errorMessage: + indentLevel: 0 + stage: {fileID: 0} + display: 2 + character: {fileID: 362523163} + replacedCharacter: {fileID: 0} + portrait: {fileID: 0} + offset: 0 + fromPosition: {fileID: 0} + toPosition: {fileID: 0} + facing: 0 + useDefaultSettings: 1 + fadeDuration: 0 + moveDuration: 1 + shiftOffset: {x: 0, y: 0} + move: 0 + shiftIntoPlace: 0 + waitUntilFinished: 1 +--- !u!114 &891159673 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 43af40f40b38a4deda25df4b1a6cef63, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 20 + errorMessage: + indentLevel: 0 + testType: 0 +--- !u!114 &891159674 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 19 + errorMessage: + indentLevel: 0 + stage: {fileID: 0} + display: 1 + character: {fileID: 290123700} + replacedCharacter: {fileID: 0} + portrait: {fileID: 21300000, guid: 10cc2fec4b8aa4db983981588b06b591, type: 3} + offset: 0 + fromPosition: {fileID: 0} + toPosition: {fileID: 1029277842} + facing: 1 + useDefaultSettings: 1 + fadeDuration: 0 + moveDuration: 1 + shiftOffset: {x: 0, y: 0} + move: 0 + shiftIntoPlace: 0 + waitUntilFinished: 1 +--- !u!114 &891159675 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3ac5ce55bc698fa4290939ef6e426501, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 18 + errorMessage: + indentLevel: 0 + stage: {fileID: 0} + display: 1 + character: {fileID: 362523163} + replacedCharacter: {fileID: 0} + portrait: {fileID: 21300000, guid: b498a62f179e149be9515ba5614ccfa3, type: 3} + offset: 0 + fromPosition: {fileID: 0} + toPosition: {fileID: 325077208} + facing: 2 + useDefaultSettings: 1 + fadeDuration: 0 + moveDuration: 1 + shiftOffset: {x: 0, y: 0} + move: 0 + shiftIntoPlace: 0 + waitUntilFinished: 1 +--- !u!114 &891159676 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 891159641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 212 + y: 139 + width: 120 + height: 40 + itemId: 17 + blockName: TestPortraits + description: + eventHandler: {fileID: 0} + commandList: + - {fileID: 891159675} + - {fileID: 891159674} + - {fileID: 891159673} + - {fileID: 891159672} + - {fileID: 891159671} + - {fileID: 891159670} + - {fileID: 891159669} + - {fileID: 891159668} + - {fileID: 891159667} + - {fileID: 891159666} + - {fileID: 891159665} + - {fileID: 891159664} + - {fileID: 891159663} + - {fileID: 891159662} + - {fileID: 891159649} + - {fileID: 891159661} +--- !u!1 &991628163 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 991628168} + - 20: {fileID: 991628167} + - 92: {fileID: 991628166} + - 124: {fileID: 991628165} + - 81: {fileID: 991628164} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &991628164 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 991628163} + m_Enabled: 1 +--- !u!124 &991628165 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 991628163} + m_Enabled: 1 +--- !u!92 &991628166 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 991628163} + m_Enabled: 1 +--- !u!20 &991628167 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 991628163} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: .192156866, g: .301960796, b: .474509805, a: .0196078438} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: .300000012 + far clip plane: 1000 + field of view: 60 + orthographic: 1 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_HDR: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: .0219999999 + m_StereoMirrorMode: 0 +--- !u!4 &991628168 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 991628163} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 +--- !u!1 &1024293038 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1024293039} + - 222: {fileID: 1024293043} + - 114: {fileID: 1024293042} + - 225: {fileID: 1024293041} + - 114: {fileID: 1024293040} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1024293039 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1024293038} + 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: 1649878568} + - {fileID: 1999698863} + - {fileID: 93721127} + - {fileID: 1982302733} + m_Father: {fileID: 1714427703} + 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 &1024293040 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11478524, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1024293038} + 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: 1714427704} + 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 &1024293041 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22583964, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1024293038} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &1024293042 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488904, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1024293038} + 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 &1024293043 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22288900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1024293038} +--- !u!1 &1028729100 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1028729102} + - 114: {fileID: 1028729101} + m_Layer: 0 + m_Name: StopTest + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1028729101 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1028729100} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b1dba0b27b0864740a8720e920aa88c0, type: 3} + m_Name: + m_EditorClassIdentifier: + timeout: 5 + ignored: 0 + succeedAfterAllAssertionsAreExecuted: 1 + expectException: 0 + expectedExceptionList: + succeedWhenExceptionIsThrown: 0 + includedPlatforms: -1 + platformsToIgnore: [] + dynamic: 0 + dynamicTypeName: +--- !u!4 &1028729102 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1028729100} + 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: 861253872} + - {fileID: 1125936941} + - {fileID: 1685415951} + m_Father: {fileID: 0} + m_RootOrder: 6 +--- !u!224 &1029277842 stripped +RectTransform: + m_PrefabParentObject: {fileID: 22410270, guid: c6289d5f8fa843145a2355af9cb09719, + type: 2} + m_PrefabInternal: {fileID: 1450066430} +--- !u!1 &1066357890 stripped +GameObject: + m_PrefabParentObject: {fileID: 188902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 1326340447} +--- !u!224 &1066357891 stripped +RectTransform: + m_PrefabParentObject: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 1326340447} +--- !u!114 &1066357895 stripped +MonoBehaviour: + m_PrefabParentObject: {fileID: 11488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 1326340447} + m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} +--- !u!1 &1083481054 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1083481056} + - 114: {fileID: 1083481055} + m_Layer: 0 + m_Name: TestRunner + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1083481055 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1083481054} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5c3afc1c624179749bcdecf7b0224902, type: 3} + m_Name: + m_EditorClassIdentifier: + currentTest: {fileID: 0} +--- !u!4 &1083481056 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1083481054} + 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: 0} + m_RootOrder: 3 +--- !u!1 &1090798151 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1090798152} + - 223: {fileID: 1090798160} + - 114: {fileID: 1090798159} + - 225: {fileID: 1090798158} + - 114: {fileID: 1090798157} + - 114: {fileID: 1090798156} + - 114: {fileID: 1090798155} + - 114: {fileID: 1090798154} + - 82: {fileID: 1090798153} + m_Layer: 5 + m_Name: SayDialog + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1090798152 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1090798151} + 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: 1648578757} + m_Father: {fileID: 2084461895} + m_RootOrder: 4 + 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!82 &1090798153 +AudioSource: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 8294266, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1090798151} + 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 &1090798154 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11481894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1090798151} + 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!114 &1090798155 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11487070, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1090798151} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Name: + m_EditorClassIdentifier: + targetTextObject: {fileID: 658513471} + writingSpeed: 60 + punctuationPause: .25 + hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} + writeWholeWords: 0 +--- !u!114 &1090798156 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1090798151} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} + m_Name: + m_EditorClassIdentifier: + fadeDuration: .25 + continueButton: {fileID: 0} + dialogCanvas: {fileID: 1090798160} + nameText: {fileID: 2082946105} + storyText: {fileID: 658513473} + characterImage: {fileID: 1112648895} +--- !u!114 &1090798157 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11486804, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1090798151} + 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 &1090798158 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22588896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1090798151} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &1090798159 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488906, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1090798151} + 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 &1090798160 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22388894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1090798151} + 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!1 &1112648893 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 148914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1112648894} + - 222: {fileID: 1112648897} + - 114: {fileID: 1112648895} + - 114: {fileID: 1112648896} + m_Layer: 5 + m_Name: Image + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1112648894 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22448914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1112648893} + 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: 1648578757} + 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!114 &1112648895 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11448914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1112648893} + 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!114 &1112648896 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11439142, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1112648893} + 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!222 &1112648897 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22248914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1112648893} +--- !u!1 &1125936939 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1125936941} + - 223: {fileID: 1125936948} + - 114: {fileID: 1125936947} + - 225: {fileID: 1125936946} + - 114: {fileID: 1125936945} + - 114: {fileID: 1125936944} + - 114: {fileID: 1125936943} + - 114: {fileID: 1125936940} + - 82: {fileID: 1125936942} + m_Layer: 5 + m_Name: SayDialog + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1125936940 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11481894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1125936939} + 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!224 &1125936941 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1125936939} + 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: 700088255} + m_Father: {fileID: 1028729102} + m_RootOrder: 1 + 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!82 &1125936942 +AudioSource: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 8294266, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1125936939} + 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 &1125936943 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11487070, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1125936939} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Name: + m_EditorClassIdentifier: + targetTextObject: {fileID: 319877265} + writingSpeed: 60 + punctuationPause: .25 + hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} + writeWholeWords: 0 +--- !u!114 &1125936944 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1125936939} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} + m_Name: + m_EditorClassIdentifier: + fadeDuration: .25 + continueButton: {fileID: 0} + dialogCanvas: {fileID: 1125936948} + nameText: {fileID: 134022281} + storyText: {fileID: 319877267} + characterImage: {fileID: 18001255} +--- !u!114 &1125936945 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11486804, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1125936939} + 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 &1125936946 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22588896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1125936939} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &1125936947 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488906, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1125936939} + 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 &1125936948 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22388894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1125936939} + 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!4 &1155926874 stripped +Transform: + m_PrefabParentObject: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_PrefabInternal: {fileID: 1450066430} +--- !u!114 &1210810389 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: da4a3a521c5c1494aae123742ca5c8f5, type: 3} + m_Name: + m_EditorClassIdentifier: + go: {fileID: 401634244} + thisPropertyPath: SayTest.passCount + compareToType: 1 + other: {fileID: 0} + otherPropertyPath: + constantValueGeneric: 4 + compareType: 0 +--- !u!114 &1216870120 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2586c8e41f35d2f4fadde53020bf4207, type: 3} + m_Name: + m_EditorClassIdentifier: + go: {fileID: 1714427702} + thisPropertyPath: AudioSource.isPlaying + compareToType: 1 + other: {fileID: 0} + otherPropertyPath: + constantValueGeneric: 0 +--- !u!114 &1300618896 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2586c8e41f35d2f4fadde53020bf4207, type: 3} + m_Name: + m_EditorClassIdentifier: + go: {fileID: 1714427702} + thisPropertyPath: AudioSource.isPlaying + compareToType: 1 + other: {fileID: 0} + otherPropertyPath: + constantValueGeneric: 1 +--- !u!1001 &1326340447 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1731000812} + m_Modifications: + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 11481894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + propertyPath: clickMode + value: 2 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_IsPrefabParent: 0 +--- !u!224 &1439815621 stripped +RectTransform: + m_PrefabParentObject: {fileID: 22410276, guid: c6289d5f8fa843145a2355af9cb09719, + type: 2} + m_PrefabInternal: {fileID: 1450066430} +--- !u!1001 &1450066430 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2084461895} + m_Modifications: + - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 110274, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + propertyPath: m_Name + value: Stage + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} + m_IsPrefabParent: 0 +--- !u!114 &1613545005 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2586c8e41f35d2f4fadde53020bf4207, type: 3} + m_Name: + m_EditorClassIdentifier: + go: {fileID: 1714427702} + thisPropertyPath: AudioSource.isPlaying + compareToType: 1 + other: {fileID: 0} + otherPropertyPath: + constantValueGeneric: 1 +--- !u!1 &1648578756 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1648578757} + - 222: {fileID: 1648578761} + - 114: {fileID: 1648578760} + - 225: {fileID: 1648578759} + - 114: {fileID: 1648578758} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1648578757 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1648578756} + 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: 2082946104} + - {fileID: 1112648894} + - {fileID: 658513472} + - {fileID: 28716240} + m_Father: {fileID: 1090798152} + 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 &1648578758 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11478524, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1648578756} + 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: 1090798154} + 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 &1648578759 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22583964, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1648578756} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &1648578760 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488904, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1648578756} + 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 &1648578761 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22288900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1648578756} +--- !u!1 &1649878567 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1649878568} + - 222: {fileID: 1649878570} + - 114: {fileID: 1649878569} + m_Layer: 5 + m_Name: NameText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1649878568 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1649878567} + 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: 1024293039} + 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 &1649878569 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1649878567} + 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 &1649878570 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22288898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1649878567} +--- !u!1 &1665408004 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 155030, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1665408007} + - 222: {fileID: 1665408006} + - 114: {fileID: 1665408005} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1665408005 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11431470, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1665408004} + 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 &1665408006 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22257884, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1665408004} +--- !u!224 &1665408007 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22443574, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1665408004} + 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: 28716240} + 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!1 &1685415950 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1685415951} + - 114: {fileID: 1685415952} + m_Layer: 0 + m_Name: TestAssertions + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1685415951 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1685415950} + 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: 1028729102} + m_RootOrder: 2 +--- !u!114 &1685415952 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1685415950} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8bafa54482a87ac4cbd7ff1bfd1ac93a, type: 3} + m_Name: + m_EditorClassIdentifier: + checkAfterTime: 1 + repeatCheckTime: 0 + repeatEveryTime: 1 + checkAfterFrames: 1 + repeatCheckFrame: 1 + repeatEveryFrame: 1 + hasFailed: 0 + checkMethods: 1 + m_ActionBase: {fileID: 1931935703} + checksPerformed: 0 +--- !u!1 &1714427702 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 188902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1714427703} + - 223: {fileID: 1714427712} + - 114: {fileID: 1714427711} + - 225: {fileID: 1714427710} + - 114: {fileID: 1714427709} + - 114: {fileID: 1714427708} + - 114: {fileID: 1714427707} + - 114: {fileID: 1714427704} + - 114: {fileID: 1714427706} + - 82: {fileID: 1714427705} + m_Layer: 5 + m_Name: SayDialog + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1714427703 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22488902, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1714427702} + 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: 1024293039} + m_Father: {fileID: 1929911610} + m_RootOrder: 1 + 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 &1714427704 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11481894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1714427702} + 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 &1714427705 +AudioSource: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 8294266, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1714427702} + 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 &1714427706 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1714427702} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c4782cf42f2644447b9631f6e522160b, type: 3} + m_Name: + m_EditorClassIdentifier: + volume: .538999975 + loop: 1 + targetAudioSource: {fileID: 0} + audioMode: 1 + beepSounds: + - {fileID: 8300000, guid: 0cec78902391f4944881c028a5bd61e2, type: 3} + - {fileID: 8300000, guid: e63f93fa5d357441485c639326e9e8f7, type: 3} + soundEffect: {fileID: 8300000, guid: 98d045067b3b7428c842dab1285b43a1, type: 3} +--- !u!114 &1714427707 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11487070, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1714427702} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Name: + m_EditorClassIdentifier: + targetTextObject: {fileID: 93721126} + writingSpeed: 60 + punctuationPause: .25 + hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} + writeWholeWords: 0 +--- !u!114 &1714427708 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1714427702} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3a0bbe22c246e4c78ad8e9816cbae9d5, type: 3} + m_Name: + m_EditorClassIdentifier: + fadeDuration: .25 + continueButton: {fileID: 0} + dialogCanvas: {fileID: 1714427712} + nameText: {fileID: 1649878569} + storyText: {fileID: 93721128} + characterImage: {fileID: 1999698865} +--- !u!114 &1714427709 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11486804, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1714427702} + 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 &1714427710 +CanvasGroup: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22588896, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1714427702} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!114 &1714427711 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11488906, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1714427702} + 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 &1714427712 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22388894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1714427702} + 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!1 &1731000811 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1731000812} + - 114: {fileID: 1731000813} + m_Layer: 0 + m_Name: SayTest + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &1731000812 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1731000811} + 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: 401634245} + - {fileID: 24983359} + - {fileID: 1066357891} + m_Father: {fileID: 0} + m_RootOrder: 4 +--- !u!114 &1731000813 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1731000811} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b1dba0b27b0864740a8720e920aa88c0, type: 3} + m_Name: + m_EditorClassIdentifier: + timeout: 10 + ignored: 0 + succeedAfterAllAssertionsAreExecuted: 1 + expectException: 0 + expectedExceptionList: + succeedWhenExceptionIsThrown: 0 + includedPlatforms: -1 + platformsToIgnore: [] + dynamic: 0 + dynamicTypeName: +--- !u!1 &1797328010 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 155030, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1797328011} + - 222: {fileID: 1797328013} + - 114: {fileID: 1797328012} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1797328011 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22443574, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1797328010} + 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: 1982302733} + 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 &1797328012 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11431470, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1797328010} + 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 &1797328013 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22257884, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1797328010} +--- !u!1 &1929911609 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1929911610} + - 114: {fileID: 1929911611} + m_Layer: 0 + m_Name: AudioTest + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &1929911610 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1929911609} + 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: 736071351} + - {fileID: 1714427703} + - {fileID: 594837300} + - {fileID: 2009395473} + m_Father: {fileID: 0} + m_RootOrder: 5 +--- !u!114 &1929911611 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1929911609} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b1dba0b27b0864740a8720e920aa88c0, type: 3} + m_Name: + m_EditorClassIdentifier: + timeout: 15 + ignored: 0 + succeedAfterAllAssertionsAreExecuted: 1 + expectException: 0 + expectedExceptionList: + succeedWhenExceptionIsThrown: 0 + includedPlatforms: -1 + platformsToIgnore: [] + dynamic: 0 + dynamicTypeName: +--- !u!114 &1931935703 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2586c8e41f35d2f4fadde53020bf4207, type: 3} + m_Name: + m_EditorClassIdentifier: + go: {fileID: 1125936939} + thisPropertyPath: Writer.isWriting + compareToType: 1 + other: {fileID: 0} + otherPropertyPath: + constantValueGeneric: 0 +--- !u!1 &1982302732 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 180152, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1982302733} + - 222: {fileID: 1982302736} + - 114: {fileID: 1982302735} + - 114: {fileID: 1982302734} + m_Layer: 5 + m_Name: Continue + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1982302733 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22433354, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1982302732} + 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: 1797328011} + m_Father: {fileID: 1024293039} + 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 &1982302734 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11419088, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1982302732} + 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: 1982302735} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1714427704} + 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 &1982302735 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11493918, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1982302732} + 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 &1982302736 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22268826, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1982302732} +--- !u!1 &1999698862 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 148914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 4 m_Component: - - 4: {fileID: 991628168} - - 20: {fileID: 991628167} - - 92: {fileID: 991628166} - - 124: {fileID: 991628165} - - 81: {fileID: 991628164} - m_Layer: 0 - m_Name: Main Camera - m_TagString: MainCamera + - 224: {fileID: 1999698863} + - 222: {fileID: 1999698866} + - 114: {fileID: 1999698865} + - 114: {fileID: 1999698864} + m_Layer: 5 + m_Name: Image + m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!81 &991628164 -AudioListener: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 991628163} - m_Enabled: 1 ---- !u!124 &991628165 -Behaviour: +--- !u!224 &1999698863 +RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 22448914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 991628163} - m_Enabled: 1 ---- !u!92 &991628166 -Behaviour: + m_GameObject: {fileID: 1999698862} + 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: 1024293039} + 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!114 &1999698864 +MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 11439142, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 991628163} + m_GameObject: {fileID: 1999698862} m_Enabled: 1 ---- !u!20 &991628167 -Camera: + 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 &1999698865 +MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 11448914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 991628163} + m_GameObject: {fileID: 1999698862} m_Enabled: 1 - serializedVersion: 2 - m_ClearFlags: 1 - m_BackGroundColor: {r: .192156866, g: .301960796, b: .474509805, a: .0196078438} - m_NormalizedViewPortRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 - near clip plane: .300000012 - far clip plane: 1000 - field of view: 60 - orthographic: 1 - orthographic size: 5 - m_Depth: -1 - m_CullingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_RenderingPath: -1 - m_TargetTexture: {fileID: 0} - m_TargetDisplay: 0 - m_HDR: 0 - m_OcclusionCulling: 1 - m_StereoConvergence: 10 - m_StereoSeparation: .0219999999 - m_StereoMirrorMode: 0 ---- !u!4 &991628168 -Transform: + 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 &1999698866 +CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 991628163} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: -10} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 0 ---- !u!224 &1029277842 stripped -RectTransform: - m_PrefabParentObject: {fileID: 22410270, guid: c6289d5f8fa843145a2355af9cb09719, + m_PrefabParentObject: {fileID: 22248914, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} - m_PrefabInternal: {fileID: 1450066430} ---- !u!1 &1083481054 + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1999698862} +--- !u!1 &2009395472 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 100000, guid: b20518d45890e4be59ba82946f88026c, type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 4 m_Component: - - 4: {fileID: 1083481056} - - 114: {fileID: 1083481055} + - 4: {fileID: 2009395473} + - 114: {fileID: 2009395474} m_Layer: 0 - m_Name: TestRunner + m_Name: TestCharacter m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!114 &1083481055 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1083481054} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5c3afc1c624179749bcdecf7b0224902, type: 3} - m_Name: - m_EditorClassIdentifier: - currentTest: {fileID: 0} ---- !u!4 &1083481056 +--- !u!4 &2009395473 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 400000, guid: b20518d45890e4be59ba82946f88026c, type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1083481054} + m_GameObject: {fileID: 2009395472} 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: 0} + m_Father: {fileID: 1929911610} m_RootOrder: 3 ---- !u!4 &1155926874 stripped -Transform: - m_PrefabParentObject: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - m_PrefabInternal: {fileID: 1450066430} ---- !u!224 &1439815621 stripped -RectTransform: - m_PrefabParentObject: {fileID: 22410276, guid: c6289d5f8fa843145a2355af9cb09719, - type: 2} - m_PrefabInternal: {fileID: 1450066430} ---- !u!1001 &1450066430 -Prefab: +--- !u!114 &2009395474 +MonoBehaviour: m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 2084461895} - m_Modifications: - - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 410270, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - propertyPath: m_RootOrder - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 110274, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - propertyPath: m_Name - value: Stage - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} - m_IsPrefabParent: 0 ---- !u!1 &1731000811 + m_PrefabParentObject: {fileID: 11400000, guid: b20518d45890e4be59ba82946f88026c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2009395472} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 25fb867d2049d41f597aefdd6b19f598, type: 3} + m_Name: + m_EditorClassIdentifier: + nameText: Test Character + nameColor: {r: 1, g: 1, b: 1, a: 1} + soundEffect: {fileID: 8300000, guid: 0cdfebb6349aa4b72a1d34c47935faf8, type: 3} + profileSprite: {fileID: 0} + portraits: [] + portraitsFace: 0 + description: +--- !u!1 &2082946103 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 188898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 4 m_Component: - - 4: {fileID: 1731000812} - - 114: {fileID: 1731000813} - m_Layer: 0 - m_Name: SayTest + - 224: {fileID: 2082946104} + - 222: {fileID: 2082946106} + - 114: {fileID: 2082946105} + m_Layer: 5 + m_Name: NameText m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &1731000812 -Transform: +--- !u!224 &2082946104 +RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 22488894, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1731000811} + m_GameObject: {fileID: 2082946103} 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: 24983359} - m_Father: {fileID: 0} - m_RootOrder: 4 ---- !u!114 &1731000813 + m_Children: [] + m_Father: {fileID: 1648578757} + 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 &2082946105 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 11488900, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1731000811} + m_GameObject: {fileID: 2082946103} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b1dba0b27b0864740a8720e920aa88c0, type: 3} + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} m_Name: m_EditorClassIdentifier: - timeout: 5 - ignored: 0 - succeedAfterAllAssertionsAreExecuted: 1 - expectException: 0 - expectedExceptionList: - succeedWhenExceptionIsThrown: 0 - includedPlatforms: -1 - platformsToIgnore: [] - dynamic: 0 - dynamicTypeName: + 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 &2082946106 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22288898, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2082946103} --- !u!1 &2084461894 GameObject: m_ObjectHideFlags: 0 @@ -1423,6 +5430,7 @@ Transform: - {fileID: 290123701} - {fileID: 362523162} - {fileID: 891159645} + - {fileID: 1090798152} m_Father: {fileID: 0} m_RootOrder: 2 --- !u!114 &2084461896 @@ -1446,3 +5454,72 @@ MonoBehaviour: platformsToIgnore: [] dynamic: 0 dynamicTypeName: +--- !u!1 &2101400350 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 155030, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 2101400351} + - 222: {fileID: 2101400353} + - 114: {fileID: 2101400352} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2101400351 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22443574, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2101400350} + 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: 206980756} + 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 &2101400352 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11431470, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2101400350} + 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 &2101400353 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 22257884, guid: 8a005a9e0713f4cc1b5ad29fb07657d3, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2101400350} diff --git a/Assets/Tests/Narrative/SayTest.cs b/Assets/Tests/Narrative/SayTest.cs new file mode 100644 index 00000000..6debd3a8 --- /dev/null +++ b/Assets/Tests/Narrative/SayTest.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using System.Collections; + +public class SayTest : MonoBehaviour +{ + public int passCount; + + public void TestPassed() + { + passCount++; + } +} diff --git a/Assets/Tests/Narrative/SayTest.cs.meta b/Assets/Tests/Narrative/SayTest.cs.meta new file mode 100644 index 00000000..4e5de272 --- /dev/null +++ b/Assets/Tests/Narrative/SayTest.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: abf8bf8daccdf46b4afc52dcfd59a479 +timeCreated: 1440068772 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/TestAssets/Audio/Beep1.wav b/Assets/Tests/TestAssets/Audio/Beep1.wav new file mode 100644 index 00000000..a1ee7527 Binary files /dev/null and b/Assets/Tests/TestAssets/Audio/Beep1.wav differ diff --git a/Assets/Tests/TestAssets/Audio/Beep1.wav.meta b/Assets/Tests/TestAssets/Audio/Beep1.wav.meta new file mode 100644 index 00000000..d35662f5 --- /dev/null +++ b/Assets/Tests/TestAssets/Audio/Beep1.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 0cec78902391f4944881c028a5bd61e2 +timeCreated: 1440502847 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 1 + sampleRateSetting: 0 + sampleRateOverride: 0 + compressionFormat: 0 + quality: .5 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/TestAssets/Audio/Beep2.wav b/Assets/Tests/TestAssets/Audio/Beep2.wav new file mode 100644 index 00000000..63293edf Binary files /dev/null and b/Assets/Tests/TestAssets/Audio/Beep2.wav differ diff --git a/Assets/Tests/TestAssets/Audio/Beep2.wav.meta b/Assets/Tests/TestAssets/Audio/Beep2.wav.meta new file mode 100644 index 00000000..92a8a716 --- /dev/null +++ b/Assets/Tests/TestAssets/Audio/Beep2.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: e63f93fa5d357441485c639326e9e8f7 +timeCreated: 1440502847 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 1 + sampleRateSetting: 0 + sampleRateOverride: 0 + compressionFormat: 0 + quality: .5 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/TestAssets/Audio/Beep3.wav b/Assets/Tests/TestAssets/Audio/Beep3.wav new file mode 100644 index 00000000..fe6e9a49 Binary files /dev/null and b/Assets/Tests/TestAssets/Audio/Beep3.wav differ diff --git a/Assets/Tests/TestAssets/Audio/Beep3.wav.meta b/Assets/Tests/TestAssets/Audio/Beep3.wav.meta new file mode 100644 index 00000000..14cb4a29 --- /dev/null +++ b/Assets/Tests/TestAssets/Audio/Beep3.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: c40373edf37cb4a3f8b7b1103d03b1bb +timeCreated: 1440502847 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 1 + sampleRateSetting: 0 + sampleRateOverride: 0 + compressionFormat: 0 + quality: .5 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/TestAssets/Audio/VoiceOver3.wav b/Assets/Tests/TestAssets/Audio/VoiceOver3.wav new file mode 100755 index 00000000..048926c2 Binary files /dev/null and b/Assets/Tests/TestAssets/Audio/VoiceOver3.wav differ diff --git a/Assets/Tests/TestAssets/Audio/VoiceOver3.wav.meta b/Assets/Tests/TestAssets/Audio/VoiceOver3.wav.meta new file mode 100644 index 00000000..6812266c --- /dev/null +++ b/Assets/Tests/TestAssets/Audio/VoiceOver3.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 0cdfebb6349aa4b72a1d34c47935faf8 +timeCreated: 1440492917 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 1 + sampleRateSetting: 0 + sampleRateOverride: 0 + compressionFormat: 0 + quality: .5 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/UI/FakeWriterInput.cs b/Assets/Tests/UI/FakeWriterInput.cs index 32b863e6..1af30265 100644 --- a/Assets/Tests/UI/FakeWriterInput.cs +++ b/Assets/Tests/UI/FakeWriterInput.cs @@ -16,7 +16,7 @@ namespace Fungus void DoFakeInput() { Writer writer = GetComponent(); - writer.SetInputFlag(); + writer.OnNextLineEvent(); } } diff --git a/Assets/Tests/UI/TextTests.unity b/Assets/Tests/UI/TextTests.unity index c459d92c..6489c3b4 100644 --- a/Assets/Tests/UI/TextTests.unity +++ b/Assets/Tests/UI/TextTests.unity @@ -232,7 +232,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 3 + m_RootOrder: 4 --- !u!1 &95196512 GameObject: m_ObjectHideFlags: 0 @@ -397,6 +397,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 30 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} @@ -508,6 +509,228 @@ MonoBehaviour: compareType: 0 comparisonType: 4 ignoreCase: 0 +--- !u!1 &332004784 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 142980, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 332004785} + - 114: {fileID: 332004786} + - 114: {fileID: 332004788} + - 114: {fileID: 332004789} + - 114: {fileID: 332004787} + - 114: {fileID: 332004791} + - 114: {fileID: 332004790} + - 114: {fileID: 332004792} + m_Layer: 0 + m_Name: Flowchart + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &332004785 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 467082, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 332004784} + 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: 530636036} + m_RootOrder: 0 +--- !u!114 &332004786 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11430050, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 332004784} + m_Enabled: 1 + m_EditorHideFlags: 0 + 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 + blockViewHeight: 400 + zoom: 1 + scrollViewRect: + serializedVersion: 2 + x: -343 + y: -340 + width: 1114 + height: 859 + selectedBlock: {fileID: 332004788} + selectedCommands: + - {fileID: 332004787} + variables: [] + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: +--- !u!114 &332004787 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 332004784} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ad2261dbe44de43a980e6f7c77c88f7f, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 1 + errorMessage: + indentLevel: 0 + textObject: {fileID: 1490749230} + text: + stringRef: {fileID: 0} + stringVal: Write some text with beeps + description: + clearText: 1 + waitUntilFinished: 0 + textColor: 0 + setAlpha: + floatRef: {fileID: 0} + floatVal: 1 + setColor: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} +--- !u!114 &332004788 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 11433304, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 332004784} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} + m_Name: + m_EditorClassIdentifier: + nodeRect: + serializedVersion: 2 + x: 68 + y: 69 + width: 120 + height: 40 + itemId: 0 + blockName: Start + description: + eventHandler: {fileID: 332004789} + commandList: + - {fileID: 332004787} + - {fileID: 332004792} + - {fileID: 332004791} + - {fileID: 332004790} +--- !u!114 &332004789 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 332004784} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} + m_Name: + m_EditorClassIdentifier: + parentBlock: {fileID: 332004788} +--- !u!114 &332004790 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 332004784} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ad2261dbe44de43a980e6f7c77c88f7f, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 3 + errorMessage: + indentLevel: 0 + textObject: {fileID: 1490749230} + text: + stringRef: {fileID: 0} + stringVal: Write some text with sound effects + description: + clearText: 1 + waitUntilFinished: 1 + textColor: 0 + setAlpha: + floatRef: {fileID: 0} + floatVal: 1 + setColor: + colorRef: {fileID: 0} + colorVal: {r: 1, g: 1, b: 1, a: 1} +--- !u!114 &332004791 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 332004784} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 688e35811870d403f9e2b1ab2a699d98, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 2 + errorMessage: + indentLevel: 0 + targetObject: {fileID: 1490749230} + targetComponentAssemblyName: Fungus.WriterAudio, Assembly-CSharp, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + targetComponentFullname: UnityEngine.Component[] + targetComponentText: WriterAudio + targetMethod: SetAudioMode + targetMethodText: 'SetAudioMode (AudioMode): Void' + methodParameters: + - objValue: + typeAssemblyname: Fungus.WriterAudio+AudioMode, Assembly-CSharp, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + typeFullname: Fungus.WriterAudio+AudioMode + intValue: 1 + boolValue: 0 + floatValue: 0 + stringValue: + colorValue: {r: 0, g: 0, b: 0, a: 0} + gameObjectValue: {fileID: 0} + materialValue: {fileID: 0} + objectValue: {fileID: 0} + spriteValue: {fileID: 0} + textureValue: {fileID: 0} + vector2Value: {x: 0, y: 0} + vector3Value: {x: 0, y: 0, z: 0} + variableKey: + saveReturnValue: 0 + returnValueVariableKey: + returnValueType: System.Void + showInherited: 0 + callMode: 0 +--- !u!114 &332004792 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 332004784} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3315ad2ebb85443909a1203d56d9344e, type: 3} + m_Name: + m_EditorClassIdentifier: + itemId: 4 + errorMessage: + indentLevel: 0 + duration: 2 --- !u!114 &419867297 MonoBehaviour: m_ObjectHideFlags: 0 @@ -579,6 +802,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 10 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} @@ -701,6 +925,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 30 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} @@ -778,6 +1003,58 @@ MonoBehaviour: compareType: 0 comparisonType: 4 ignoreCase: 0 +--- !u!1 &530636034 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 530636036} + - 114: {fileID: 530636035} + m_Layer: 0 + m_Name: WriterAudioTest + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &530636035 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 530636034} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b1dba0b27b0864740a8720e920aa88c0, type: 3} + m_Name: + m_EditorClassIdentifier: + timeout: 5 + ignored: 0 + succeedAfterAllAssertionsAreExecuted: 1 + expectException: 0 + expectedExceptionList: + succeedWhenExceptionIsThrown: 0 + includedPlatforms: -1 + platformsToIgnore: [] + dynamic: 0 + dynamicTypeName: +--- !u!4 &530636036 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 530636034} + 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: 332004785} + - {fileID: 1411617024} + - {fileID: 1200195692} + m_Father: {fileID: 0} + m_RootOrder: 3 --- !u!1 &640528464 GameObject: m_ObjectHideFlags: 0 @@ -932,6 +1209,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 30 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} @@ -1159,6 +1437,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 30 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} @@ -1234,6 +1513,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 60 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} @@ -1382,6 +1662,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 30 punctuationPause: .25 hiddenTextColor: {r: .500811279, g: .213235319, b: 1, a: 1} @@ -1586,6 +1867,7 @@ MonoBehaviour: text: stringRef: {fileID: 0} stringVal: Auto add Writer component + description: clearText: 1 waitUntilFinished: 0 textColor: 0 @@ -1655,6 +1937,7 @@ MonoBehaviour: stringVal: Write {color=white}colored {i}italic{/i}{/color} and {b}bold{/b}. Mixed {color=red} red {b} and bold {i} and italic {/i} not italic {/b} not bold {/color} not colored. + description: clearText: 1 waitUntilFinished: 0 textColor: 0 @@ -1700,6 +1983,7 @@ MonoBehaviour: Wait {w=0.5}works {wc}Wait for input and clear works' + description: clearText: 1 waitUntilFinished: 0 textColor: 0 @@ -1727,6 +2011,7 @@ MonoBehaviour: text: stringRef: {fileID: 0} stringVal: 3D text mesh + description: clearText: 1 waitUntilFinished: 0 textColor: 0 @@ -1829,6 +2114,7 @@ MonoBehaviour: text: stringRef: {fileID: 0} stringVal: Do a vpunch{vpunch}{flash}, hpunch{hpunch} and a punch{punch}. + description: clearText: 1 waitUntilFinished: 0 textColor: 0 @@ -1856,6 +2142,7 @@ MonoBehaviour: text: stringRef: {fileID: 0} stringVal: Broadcast message.{m=TestMessage} Write this text{x}But not this text. + description: clearText: 1 waitUntilFinished: 0 textColor: 0 @@ -1883,6 +2170,7 @@ MonoBehaviour: text: stringRef: {fileID: 0} stringVal: Write {s=10}slow{/s}, normal, {s=1000} super fast{/s} + description: clearText: 1 waitUntilFinished: 0 textColor: 0 @@ -1910,6 +2198,7 @@ MonoBehaviour: text: stringRef: {fileID: 0} stringVal: Write out some text over time and then clear it{c} + description: clearText: 1 waitUntilFinished: 0 textColor: 0 @@ -1937,6 +2226,7 @@ MonoBehaviour: text: stringRef: {fileID: 0} stringVal: Test. punctuation? pause .?!,:;) works + description: clearText: 1 waitUntilFinished: 0 textColor: 0 @@ -1965,6 +2255,7 @@ MonoBehaviour: stringRef: {fileID: 0} stringVal: Play sound{audio=BeepSound}{w=1} Play loop{audioloop=BeepSound}{w=3} Stop{audiostop=BeepSound} + description: clearText: 1 waitUntilFinished: 0 textColor: 0 @@ -2056,6 +2347,7 @@ MonoBehaviour: text: stringRef: {fileID: 0} stringVal: Default color + description: clearText: 1 waitUntilFinished: 0 textColor: 0 @@ -2083,6 +2375,7 @@ MonoBehaviour: text: stringRef: {fileID: 0} stringVal: Set Visible + description: clearText: 1 waitUntilFinished: 0 textColor: 1 @@ -2110,6 +2403,7 @@ MonoBehaviour: text: stringRef: {fileID: 0} stringVal: Set Alpha + description: clearText: 1 waitUntilFinished: 0 textColor: 2 @@ -2137,6 +2431,7 @@ MonoBehaviour: text: stringRef: {fileID: 0} stringVal: Set Color + description: clearText: 1 waitUntilFinished: 0 textColor: 3 @@ -2164,6 +2459,7 @@ MonoBehaviour: text: stringRef: {fileID: 0} stringVal: Highlight text as it's written out one word at a time. + description: clearText: 1 waitUntilFinished: 0 textColor: 0 @@ -2191,6 +2487,7 @@ MonoBehaviour: text: stringRef: {fileID: 0} stringVal: Wait until finished + description: clearText: 1 waitUntilFinished: 1 textColor: 0 @@ -2274,6 +2571,7 @@ MonoBehaviour: text: stringRef: {fileID: 0} stringVal: Substitution:{$StringVar},{$BoolVar},{$IntVar},{$FloatVar} + description: clearText: 1 waitUntilFinished: 0 textColor: 0 @@ -2298,7 +2596,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!114 &1032150758 MonoBehaviour: m_ObjectHideFlags: 0 @@ -2551,6 +2849,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 30 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} @@ -2645,6 +2944,55 @@ MonoBehaviour: other: {fileID: 0} otherPropertyPath: constantValueGeneric: 0 +--- !u!1 &1200195691 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1200195692} + - 114: {fileID: 1200195694} + m_Layer: 0 + m_Name: TestAssertions + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1200195692 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1200195691} + 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: 530636036} + m_RootOrder: 2 +--- !u!114 &1200195694 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1200195691} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8bafa54482a87ac4cbd7ff1bfd1ac93a, type: 3} + m_Name: + m_EditorClassIdentifier: + checkAfterTime: 2.25 + repeatCheckTime: 0 + repeatEveryTime: 1 + checkAfterFrames: 1 + repeatCheckFrame: 1 + repeatEveryFrame: 1 + hasFailed: 0 + checkMethods: 1 + m_ActionBase: {fileID: 1851602427} + checksPerformed: 0 --- !u!1 &1218238772 GameObject: m_ObjectHideFlags: 0 @@ -2735,6 +3083,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 30 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} @@ -2818,7 +3167,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} m_Name: m_EditorClassIdentifier: - selectedFlowchart: {fileID: 1845987941} + selectedFlowchart: {fileID: 332004786} --- !u!4 &1308535842 Transform: m_ObjectHideFlags: 1 @@ -2919,6 +3268,96 @@ CanvasRenderer: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1405192199} +--- !u!1 &1411617023 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1411617024} + - 223: {fileID: 1411617027} + - 114: {fileID: 1411617026} + - 114: {fileID: 1411617025} + m_Layer: 5 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1411617024 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1411617023} + 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: 1490749231} + m_Father: {fileID: 530636036} + m_RootOrder: 1 + 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 &1411617025 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1411617023} + 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!114 &1411617026 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1411617023} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &1411617027 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1411617023} + m_Enabled: 1 + serializedVersion: 2 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 --- !u!114 &1430574585 MonoBehaviour: m_ObjectHideFlags: 0 @@ -3168,6 +3607,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 30 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} @@ -3221,6 +3661,180 @@ RectTransform: m_AnchoredPosition: {x: -333, y: -294} m_SizeDelta: {x: -665, y: 30} m_Pivot: {x: .5, y: .5} +--- !u!1 &1490749230 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 224: {fileID: 1490749231} + - 222: {fileID: 1490749233} + - 114: {fileID: 1490749232} + - 114: {fileID: 1490749234} + - 114: {fileID: 1490749235} + - 82: {fileID: 1490749236} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1490749231 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1490749230} + 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: 1411617024} + m_RootOrder: 0 + m_AnchorMin: {x: 0, y: .5} + m_AnchorMax: {x: 1, y: .5} + m_AnchoredPosition: {x: 0, y: 54.25} + m_SizeDelta: {x: 1, y: 108.5} + m_Pivot: {x: .5, y: .5} +--- !u!114 &1490749232 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1490749230} + 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: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 30 + 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: New Text +--- !u!222 &1490749233 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1490749230} +--- !u!114 &1490749234 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1490749230} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} + m_Name: + m_EditorClassIdentifier: + targetTextObject: {fileID: 0} + writingSpeed: 60 + punctuationPause: .25 + hiddenTextColor: {r: .463235319, g: .463235319, b: .463235319, a: 1} + writeWholeWords: 0 +--- !u!114 &1490749235 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1490749230} + 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: 0cec78902391f4944881c028a5bd61e2, type: 3} + - {fileID: 8300000, guid: c40373edf37cb4a3f8b7b1103d03b1bb, type: 3} + soundEffect: {fileID: 8300000, guid: 98d045067b3b7428c842dab1285b43a1, type: 3} + inputSound: {fileID: 0} +--- !u!82 &1490749236 +AudioSource: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1490749230} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_PlayOnAwake: 1 + 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!1 &1518184822 GameObject: m_ObjectHideFlags: 0 @@ -3491,6 +4105,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 30 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} @@ -3606,6 +4221,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 30 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} @@ -3704,7 +4320,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 5 --- !u!1 &1719294948 GameObject: m_ObjectHideFlags: 0 @@ -3751,6 +4367,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 30 punctuationPause: .25 hiddenTextColor: {r: .500811279, g: .213235319, b: 1, a: 1} @@ -4001,6 +4618,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 60 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} @@ -4092,7 +4710,7 @@ MonoBehaviour: y: -340 width: 1114 height: 859 - selectedBlock: {fileID: 1845987940} + selectedBlock: {fileID: 0} selectedCommands: [] variables: - {fileID: 1845987944} @@ -4160,9 +4778,10 @@ MonoBehaviour: errorMessage: indentLevel: 0 targetTextObject: {fileID: 95196512} - stringData: + text: stringRef: {fileID: 0} stringVal: Output text 3 + description: _textObjectObsolete: {fileID: 0} --- !u!114 &1845987949 MonoBehaviour: @@ -4179,9 +4798,10 @@ MonoBehaviour: errorMessage: indentLevel: 0 targetTextObject: {fileID: 1912867843} - stringData: + text: stringRef: {fileID: 0} stringVal: Output text 2 + description: _textObjectObsolete: {fileID: 0} --- !u!114 &1845987950 MonoBehaviour: @@ -4198,10 +4818,28 @@ MonoBehaviour: errorMessage: indentLevel: 0 targetTextObject: {fileID: 1612264386} - stringData: + text: stringRef: {fileID: 0} stringVal: Output text 1 + description: _textObjectObsolete: {fileID: 0} +--- !u!114 &1851602427 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2586c8e41f35d2f4fadde53020bf4207, type: 3} + m_Name: + m_EditorClassIdentifier: + go: {fileID: 1490749230} + thisPropertyPath: AudioSource.isPlaying + compareToType: 1 + other: {fileID: 0} + otherPropertyPath: + constantValueGeneric: 1 --- !u!114 &1866177340 MonoBehaviour: m_ObjectHideFlags: 0 @@ -4430,6 +5068,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 30 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} @@ -4549,6 +5188,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 30 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0} @@ -4631,6 +5271,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a676940fce6344af1a70043b089a6c14, type: 3} m_Name: m_EditorClassIdentifier: + targetTextObject: {fileID: 0} writingSpeed: 30 punctuationPause: .25 hiddenTextColor: {r: 1, g: 1, b: 1, a: 0}