Browse Source

Fixed: Localisation CSV parser doesn't handle Windows-style line endings #131

Added an integration test to check both Mac and Windows cases
master
chrisgregan 10 years ago
parent
commit
ec91c153f6
  1. 3
      Assets/Fungus/Thirdparty/CSVParser/CsvParser.cs
  2. 9
      Assets/Tests/Localisation.meta
  3. 9
      Assets/Tests/Localisation/CSV.meta
  4. 2
      Assets/Tests/Localisation/CSV/localization_Mac.csv
  5. 8
      Assets/Tests/Localisation/CSV/localization_Mac.csv.meta
  6. 2
      Assets/Tests/Localisation/CSV/localization_Windows.csv
  7. 8
      Assets/Tests/Localisation/CSV/localization_Windows.csv.meta
  8. 345
      Assets/Tests/Localisation/LocalisationTests.unity
  9. 8
      Assets/Tests/Localisation/LocalisationTests.unity.meta
  10. 9
      Assets/Tests/Localisation/Scripts.meta
  11. 46
      Assets/Tests/Localisation/Scripts/TestLoadingCSV.cs
  12. 12
      Assets/Tests/Localisation/Scripts/TestLoadingCSV.cs.meta
  13. 186
      Assets/Tests/Narrative/NarrativeTests.unity

3
Assets/Fungus/Thirdparty/CSVParser/CsvParser.cs vendored

@ -189,7 +189,8 @@ namespace Ideafixxxer.CsvParser
{ {
var context = new ParserContext(); 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; ParserState currentState = ParserState.LineStartState;
foreach (string next in lines) foreach (string next in lines)

9
Assets/Tests/Localisation.meta

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: ed36a93ccd5454e92823e46540f26c24
folderAsset: yes
timeCreated: 1439557993
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

9
Assets/Tests/Localisation/CSV.meta

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 3fec762f6d7a947cdabc7f7e26860c0c
folderAsset: yes
timeCreated: 1439558085
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

2
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
1 Key Description Standard ES FR
2 SAY.LocalizationDemo.12. This text is in English Este texto está en español Ce texte est en français

8
Assets/Tests/Localisation/CSV/localization_Mac.csv.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8d5a303a2b2644e32938f8c9c15b2366
timeCreated: 1439558085
licenseType: Free
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:

2
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
1 Key Description Standard ES FR
2 SAY.LocalizationDemo.12. This text is in English Este texto está en español Ce texte est en français

8
Assets/Tests/Localisation/CSV/localization_Windows.csv.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: cfe751e1299764c0bb5b1baa0ac5f7e2
timeCreated: 1439558085
licenseType: Free
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:

345
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

8
Assets/Tests/Localisation/LocalisationTests.unity.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 03cbfc5580f664a84ac0f21df911df4b
timeCreated: 1439558110
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

9
Assets/Tests/Localisation/Scripts.meta

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: f7811ee5213a64d70be8e1315e97e070
folderAsset: yes
timeCreated: 1439558265
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

46
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;
}
}
}

12
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:

186
Assets/Tests/Narrative/NarrativeTests.unity

@ -114,7 +114,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
selectedFlowchart: {fileID: 891159642} selectedFlowchart: {fileID: 24983358}
--- !u!4 &11556238 --- !u!4 &11556238
Transform: Transform:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
@ -127,6 +127,134 @@ Transform:
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 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 --- !u!1 &41636568
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -738,7 +866,7 @@ MonoBehaviour:
indentLevel: 0 indentLevel: 0
stage: {fileID: 0} stage: {fileID: 0}
display: 1 display: 1
character: {fileID: 362523163} character: {fileID: 0}
replacedCharacter: {fileID: 290123700} replacedCharacter: {fileID: 290123700}
portrait: {fileID: 21300000, guid: f0a480312d1664a9d9c7749fed3eb1b5, type: 3} portrait: {fileID: 21300000, guid: f0a480312d1664a9d9c7749fed3eb1b5, type: 3}
offset: 0 offset: 0
@ -1215,6 +1343,56 @@ Prefab:
m_RemovedComponents: [] m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: c6289d5f8fa843145a2355af9cb09719, type: 2} m_ParentPrefab: {fileID: 100100000, guid: c6289d5f8fa843145a2355af9cb09719, type: 2}
m_IsPrefabParent: 0 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 --- !u!1 &2084461894
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1225,12 +1403,12 @@ GameObject:
- 4: {fileID: 2084461895} - 4: {fileID: 2084461895}
- 114: {fileID: 2084461896} - 114: {fileID: 2084461896}
m_Layer: 0 m_Layer: 0
m_Name: NarrativeTest m_Name: PortraitTest
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!4 &2084461895 --- !u!4 &2084461895
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

Loading…
Cancel
Save