diff --git a/Assets/Fungus/Thirdparty/CSVParser/CsvParser.cs b/Assets/Fungus/Thirdparty/CSVParser/CsvParser.cs index 7d702aad..f0a53571 100755 --- a/Assets/Fungus/Thirdparty/CSVParser/CsvParser.cs +++ b/Assets/Fungus/Thirdparty/CSVParser/CsvParser.cs @@ -189,7 +189,8 @@ namespace Ideafixxxer.CsvParser { var context = new ParserContext(); - string[] lines = csvData.Split('\n'); + // Handle both Winodws and Mac line endings + string[] lines = csvData.Split(new string[] { "\r\n", "\n" }, StringSplitOptions.RemoveEmptyEntries); ParserState currentState = ParserState.LineStartState; foreach (string next in lines) diff --git a/Assets/Tests/Localisation.meta b/Assets/Tests/Localisation.meta new file mode 100644 index 00000000..5e53b144 --- /dev/null +++ b/Assets/Tests/Localisation.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: ed36a93ccd5454e92823e46540f26c24 +folderAsset: yes +timeCreated: 1439557993 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Localisation/CSV.meta b/Assets/Tests/Localisation/CSV.meta new file mode 100644 index 00000000..49b9002e --- /dev/null +++ b/Assets/Tests/Localisation/CSV.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 3fec762f6d7a947cdabc7f7e26860c0c +folderAsset: yes +timeCreated: 1439558085 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Localisation/CSV/localization_Mac.csv b/Assets/Tests/Localisation/CSV/localization_Mac.csv new file mode 100644 index 00000000..5ef4b919 --- /dev/null +++ b/Assets/Tests/Localisation/CSV/localization_Mac.csv @@ -0,0 +1,2 @@ +Key,Description,Standard,ES,FR +SAY.LocalizationDemo.12.,,This text is in English,Este texto está en español,Ce texte est en français diff --git a/Assets/Tests/Localisation/CSV/localization_Mac.csv.meta b/Assets/Tests/Localisation/CSV/localization_Mac.csv.meta new file mode 100644 index 00000000..a94e89a0 --- /dev/null +++ b/Assets/Tests/Localisation/CSV/localization_Mac.csv.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8d5a303a2b2644e32938f8c9c15b2366 +timeCreated: 1439558085 +licenseType: Free +TextScriptImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Localisation/CSV/localization_Windows.csv b/Assets/Tests/Localisation/CSV/localization_Windows.csv new file mode 100644 index 00000000..9b7f75c4 --- /dev/null +++ b/Assets/Tests/Localisation/CSV/localization_Windows.csv @@ -0,0 +1,2 @@ +Key,Description,Standard,ES,FR +SAY.LocalizationDemo.12.,,This text is in English,Este texto está en español,Ce texte est en français diff --git a/Assets/Tests/Localisation/CSV/localization_Windows.csv.meta b/Assets/Tests/Localisation/CSV/localization_Windows.csv.meta new file mode 100644 index 00000000..d192e81d --- /dev/null +++ b/Assets/Tests/Localisation/CSV/localization_Windows.csv.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cfe751e1299764c0bb5b1baa0ac5f7e2 +timeCreated: 1439558085 +licenseType: Free +TextScriptImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Localisation/LocalisationTests.unity b/Assets/Tests/Localisation/LocalisationTests.unity new file mode 100644 index 00000000..b592247f --- /dev/null +++ b/Assets/Tests/Localisation/LocalisationTests.unity @@ -0,0 +1,345 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +SceneSettings: + m_ObjectHideFlags: 0 + m_PVSData: + m_PVSObjectsArray: [] + m_PVSPortalsArray: [] + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: .25 + backfaceThreshold: 100 +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 6 + m_Fog: 0 + m_FogColor: {r: .5, g: .5, b: .5, a: 1} + m_FogMode: 3 + m_FogDensity: .00999999978 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: .211999997, g: .226999998, b: .259000003, a: 1} + m_AmbientEquatorColor: {r: .114, g: .125, b: .133000001, a: 1} + m_AmbientGroundColor: {r: .0469999984, g: .0430000015, b: .0350000001, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: .5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} +--- !u!127 &3 +LevelGameManager: + m_ObjectHideFlags: 0 +--- !u!157 &4 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 5 + m_GIWorkflowMode: 1 + m_LightmapsMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 3 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AOMaxDistance: 1 + m_Padding: 2 + m_CompAOExponent: 0 + m_LightmapParameters: {fileID: 0} + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherRayCount: 1024 + m_LightmapSnapshot: {fileID: 0} + m_RuntimeCPUUsage: 25 +--- !u!196 &5 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentRadius: .5 + agentHeight: 2 + agentSlope: 45 + agentClimb: .400000006 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + accuratePlacement: 0 + minRegionArea: 2 + cellSize: .166666672 + manualCellSize: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &10089112 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 10089113} + - 114: {fileID: 10089114} + m_Layer: 0 + m_Name: TestLoadingCSV + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &10089113 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 10089112} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 344, y: 104, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1417630600} + m_RootOrder: 0 +--- !u!114 &10089114 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 10089112} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 6977d8c231d514e6f99b7ee5b4f32a27, type: 3} + m_Name: + m_EditorClassIdentifier: + csvFileWindows: {fileID: 4900000, guid: cfe751e1299764c0bb5b1baa0ac5f7e2, type: 3} + csvFileMac: {fileID: 4900000, guid: 8d5a303a2b2644e32938f8c9c15b2366, type: 3} +--- !u!1 &263238434 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 263238436} + - 114: {fileID: 263238435} + m_Layer: 0 + m_Name: TestRunner + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &263238435 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 263238434} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5c3afc1c624179749bcdecf7b0224902, type: 3} + m_Name: + m_EditorClassIdentifier: + currentTest: {fileID: 0} +--- !u!4 &263238436 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 263238434} + 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: 2 +--- !u!1 &365459144 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 365459146} + - 114: {fileID: 365459145} + m_Layer: 0 + m_Name: _FungusState + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &365459145 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 365459144} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} + m_Name: + m_EditorClassIdentifier: + selectedFlowchart: {fileID: 0} +--- !u!4 &365459146 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 365459144} + 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: 0 +--- !u!1 &881473892 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 881473897} + - 20: {fileID: 881473896} + - 92: {fileID: 881473895} + - 124: {fileID: 881473894} + - 81: {fileID: 881473893} + 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 &881473893 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 881473892} + m_Enabled: 1 +--- !u!124 &881473894 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 881473892} + m_Enabled: 1 +--- !u!92 &881473895 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 881473892} + m_Enabled: 1 +--- !u!20 &881473896 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 881473892} + 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 &881473897 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 881473892} + 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 &1417630598 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1417630600} + - 114: {fileID: 1417630599} + m_Layer: 0 + m_Name: CSVTest + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!114 &1417630599 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1417630598} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b1dba0b27b0864740a8720e920aa88c0, type: 3} + m_Name: + m_EditorClassIdentifier: + timeout: 5 + ignored: 0 + succeedAfterAllAssertionsAreExecuted: 0 + expectException: 0 + expectedExceptionList: + succeedWhenExceptionIsThrown: 0 + includedPlatforms: -1 + platformsToIgnore: [] + dynamic: 0 + dynamicTypeName: +--- !u!4 &1417630600 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1417630598} + 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: 10089113} + m_Father: {fileID: 0} + m_RootOrder: 1 diff --git a/Assets/Tests/Localisation/LocalisationTests.unity.meta b/Assets/Tests/Localisation/LocalisationTests.unity.meta new file mode 100644 index 00000000..9b654fe1 --- /dev/null +++ b/Assets/Tests/Localisation/LocalisationTests.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 03cbfc5580f664a84ac0f21df911df4b +timeCreated: 1439558110 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Localisation/Scripts.meta b/Assets/Tests/Localisation/Scripts.meta new file mode 100644 index 00000000..70703d15 --- /dev/null +++ b/Assets/Tests/Localisation/Scripts.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: f7811ee5213a64d70be8e1315e97e070 +folderAsset: yes +timeCreated: 1439558265 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Localisation/Scripts/TestLoadingCSV.cs b/Assets/Tests/Localisation/Scripts/TestLoadingCSV.cs new file mode 100644 index 00000000..3fa97ce2 --- /dev/null +++ b/Assets/Tests/Localisation/Scripts/TestLoadingCSV.cs @@ -0,0 +1,46 @@ +using UnityEngine; +using System.Collections; +using Ideafixxxer.CsvParser; + +namespace Fungus +{ + + public class TestLoadingCSV : MonoBehaviour + { + public TextAsset csvFileWindows; + public TextAsset csvFileMac; + + void Start () + { + if (!ParseCSV(csvFileWindows.text)) + { + IntegrationTest.Fail("Failed to parse CSV file with Windows line endings"); + } + + if (!ParseCSV(csvFileMac.text)) + { + IntegrationTest.Fail("Failed to parse CSV file with Mac line endings"); + } + + IntegrationTest.Pass(); + } + + bool ParseCSV(string text) + { + Debug.Log (text); + + CsvParser csvParser = new CsvParser(); + string[][] csvTable = csvParser.Parse(text); + + bool passed = true; + passed &= (csvTable[1][0] == "SAY.LocalizationDemo.12."); + passed &= (csvTable[1][1] == ""); + passed &= (csvTable[1][2] == "This text is in English"); + passed &= (csvTable[1][3] == "Este texto está en español"); + passed &= (csvTable[1][4] == "Ce texte est en français"); + + return passed; + } + } + +} \ No newline at end of file diff --git a/Assets/Tests/Localisation/Scripts/TestLoadingCSV.cs.meta b/Assets/Tests/Localisation/Scripts/TestLoadingCSV.cs.meta new file mode 100644 index 00000000..ad66ebbe --- /dev/null +++ b/Assets/Tests/Localisation/Scripts/TestLoadingCSV.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 6977d8c231d514e6f99b7ee5b4f32a27 +timeCreated: 1439558273 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Narrative/NarrativeTests.unity b/Assets/Tests/Narrative/NarrativeTests.unity index 3f2765f4..7dbb3557 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: 891159642} + selectedFlowchart: {fileID: 24983358} --- !u!4 &11556238 Transform: m_ObjectHideFlags: 1 @@ -127,6 +127,134 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 +--- !u!1 &24983354 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 142980, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 24983359} + - 114: {fileID: 24983358} + - 114: {fileID: 24983357} + - 114: {fileID: 24983356} + - 114: {fileID: 24983355} + m_Layer: 0 + m_Name: Flowchart + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &24983355 +MonoBehaviour: + m_ObjectHideFlags: 0 + 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: 1 + errorMessage: + indentLevel: 0 + storyText: Write out some say text + description: + character: {fileID: 0} + portrait: {fileID: 0} + voiceOverClip: {fileID: 0} + showAlways: 1 + showCount: 1 + extendPrevious: 0 + fadeIn: 0 + fadeOut: 0 + waitForClick: 1 + setSayDialog: {fileID: 0} +--- !u!114 &24983356 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 11462346, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, + type: 2} + 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: 24983357} +--- !u!114 &24983357 +MonoBehaviour: + m_ObjectHideFlags: 2 + m_PrefabParentObject: {fileID: 11433304, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, + type: 2} + 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: 67 + y: 69 + width: 120 + height: 40 + itemId: 0 + blockName: New Block + description: + eventHandler: {fileID: 24983356} + commandList: + - {fileID: 24983355} +--- !u!114 &24983358 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 11430050, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + 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: 24983357} + selectedCommands: + - {fileID: 24983355} + variables: [] + description: + stepPause: 0 + colorCommands: 1 + hideComponents: 1 + saveSelection: 1 + localizationId: +--- !u!4 &24983359 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 467082, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 24983354} + 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: 1731000812} + m_RootOrder: 0 --- !u!1 &41636568 GameObject: m_ObjectHideFlags: 0 @@ -738,7 +866,7 @@ MonoBehaviour: indentLevel: 0 stage: {fileID: 0} display: 1 - character: {fileID: 362523163} + character: {fileID: 0} replacedCharacter: {fileID: 290123700} portrait: {fileID: 21300000, guid: f0a480312d1664a9d9c7749fed3eb1b5, type: 3} offset: 0 @@ -1215,6 +1343,56 @@ Prefab: m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} m_IsPrefabParent: 0 +--- !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: 1 +--- !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: 24983359} + 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: 5 + ignored: 0 + succeedAfterAllAssertionsAreExecuted: 1 + expectException: 0 + expectedExceptionList: + succeedWhenExceptionIsThrown: 0 + includedPlatforms: -1 + platformsToIgnore: [] + dynamic: 0 + dynamicTypeName: --- !u!1 &2084461894 GameObject: m_ObjectHideFlags: 0 @@ -1225,12 +1403,12 @@ GameObject: - 4: {fileID: 2084461895} - 114: {fileID: 2084461896} m_Layer: 0 - m_Name: NarrativeTest + m_Name: PortraitTest m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!4 &2084461895 Transform: m_ObjectHideFlags: 0