com.unity.uiextensions/Examples/SerialisationExampleScripts.../SerializeTest.unity

624 lines
18 KiB
Plaintext

%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: 0.25
backfaceThreshold: 100
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 6
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 0
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
m_HaloStrength: 0.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!157 &4
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 6
m_GIWorkflowMode: 0
m_LightmapsMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_TemporalCoherenceThreshold: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 1
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_ReflectionCompression: 2
m_LightingDataAsset: {fileID: 0}
m_RuntimeCPUUsage: 25
--- !u!196 &5
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
accuratePlacement: 0
minRegionArea: 2
cellSize: 0.16666667
manualCellSize: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &295572876
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 4: {fileID: 295572881}
- 33: {fileID: 295572880}
- 135: {fileID: 295572879}
- 23: {fileID: 295572878}
- 114: {fileID: 295572877}
m_Layer: 0
m_Name: Persistent GameObject
m_TagString: DontDestroy
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &295572877
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 295572876}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: bd4dc9485ec174c44bb7aa7b9d65f7e4, type: 3}
m_Name:
m_EditorClassIdentifier:
showMenu: 0
usePersistentDataPath: 1
savePath: 633a2f4d792053617665642047616d65732f
--- !u!23 &295572878
MeshRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 295572876}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_Materials:
- {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0}
m_SubsetIndices:
m_StaticBatchRoot: {fileID: 0}
m_UseLightProbes: 1
m_ReflectionProbeUsage: 1
m_ProbeAnchor: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 1
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingOrder: 0
--- !u!135 &295572879
SphereCollider:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 295572876}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.5
m_Center: {x: 0, y: 0, z: 0}
--- !u!33 &295572880
MeshFilter:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 295572876}
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
--- !u!4 &295572881
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 295572876}
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
--- !u!1 &469137979
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 191666, guid: f3b705d54062603418fef7f609535a48, type: 2}
m_PrefabInternal: {fileID: 1984912377}
serializedVersion: 4
m_Component:
- 4: {fileID: 469137984}
- 33: {fileID: 469137983}
- 136: {fileID: 469137982}
- 23: {fileID: 469137981}
- 114: {fileID: 469137980}
m_Layer: 0
m_Name: TestObject 2
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &469137980
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 11483362, guid: f3b705d54062603418fef7f609535a48,
type: 2}
m_PrefabInternal: {fileID: 1984912377}
m_GameObject: {fileID: 469137979}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0c19f3e134862e74dbc98cb514a82ef5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!23 &469137981
MeshRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 2343766, guid: f3b705d54062603418fef7f609535a48,
type: 2}
m_PrefabInternal: {fileID: 1984912377}
m_GameObject: {fileID: 469137979}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_SubsetIndices:
m_StaticBatchRoot: {fileID: 0}
m_UseLightProbes: 1
m_ReflectionProbeUsage: 1
m_ProbeAnchor: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 1
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingOrder: 0
--- !u!136 &469137982
CapsuleCollider:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 13676560, guid: f3b705d54062603418fef7f609535a48,
type: 2}
m_PrefabInternal: {fileID: 1984912377}
m_GameObject: {fileID: 469137979}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
m_Radius: 0.5
m_Height: 2
m_Direction: 1
m_Center: {x: 0, y: 0, z: 0}
--- !u!33 &469137983
MeshFilter:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 3370042, guid: f3b705d54062603418fef7f609535a48,
type: 2}
m_PrefabInternal: {fileID: 1984912377}
m_GameObject: {fileID: 469137979}
m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0}
--- !u!4 &469137984
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 497016, guid: f3b705d54062603418fef7f609535a48, type: 2}
m_PrefabInternal: {fileID: 1984912377}
m_GameObject: {fileID: 469137979}
m_LocalRotation: {x: -0.09426609, y: 0.4054792, z: -0.45864588, w: 0.7850761}
m_LocalPosition: {x: -2.29, y: 0, z: 1.79}
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
--- !u!1 &574899098
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 4: {fileID: 574899100}
- 108: {fileID: 574899099}
m_Layer: 0
m_Name: Directional Light
m_TagString: DontDestroy
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!108 &574899099
Light:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 574899098}
m_Enabled: 1
serializedVersion: 6
m_Type: 1
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
m_Intensity: 1
m_Range: 10
m_SpotAngle: 30
m_CookieSize: 10
m_Shadows:
m_Type: 2
m_Resolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 4
m_BounceIntensity: 1
m_ShadowRadius: 0
m_ShadowAngle: 0
m_AreaSize: {x: 1, y: 1}
--- !u!4 &574899100
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 574899098}
m_LocalRotation: {x: 0.40821794, y: -0.23456973, z: 0.109381676, w: 0.87542605}
m_LocalPosition: {x: 0, y: 3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
--- !u!1 &635294011
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 4: {fileID: 635294016}
- 20: {fileID: 635294015}
- 92: {fileID: 635294014}
- 124: {fileID: 635294013}
- 81: {fileID: 635294012}
m_Layer: 0
m_Name: Main Camera
m_TagString: DontDestroy
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!81 &635294012
AudioListener:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 635294011}
m_Enabled: 1
--- !u!124 &635294013
Behaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 635294011}
m_Enabled: 1
--- !u!92 &635294014
Behaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 635294011}
m_Enabled: 1
--- !u!20 &635294015
Camera:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 635294011}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 5
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
m_StereoMirrorMode: 0
--- !u!4 &635294016
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 635294011}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
--- !u!1001 &1034211790
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 416904, guid: 6ab4be07dd04115438edfc50dd6ed81e, type: 2}
propertyPath: m_LocalPosition.x
value: -4.51999998
objectReference: {fileID: 0}
- target: {fileID: 416904, guid: 6ab4be07dd04115438edfc50dd6ed81e, type: 2}
propertyPath: m_LocalPosition.y
value: 1.69000006
objectReference: {fileID: 0}
- target: {fileID: 416904, guid: 6ab4be07dd04115438edfc50dd6ed81e, type: 2}
propertyPath: m_LocalPosition.z
value: 3.06999993
objectReference: {fileID: 0}
- target: {fileID: 416904, guid: 6ab4be07dd04115438edfc50dd6ed81e, type: 2}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 416904, guid: 6ab4be07dd04115438edfc50dd6ed81e, type: 2}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 416904, guid: 6ab4be07dd04115438edfc50dd6ed81e, type: 2}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 416904, guid: 6ab4be07dd04115438edfc50dd6ed81e, type: 2}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 416904, guid: 6ab4be07dd04115438edfc50dd6ed81e, type: 2}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 11498422, guid: 6ab4be07dd04115438edfc50dd6ed81e, type: 2}
propertyPath: someGameObject
value:
objectReference: {fileID: 1034211791}
- target: {fileID: 11498422, guid: 6ab4be07dd04115438edfc50dd6ed81e, type: 2}
propertyPath: testClassArray.Array.data[0].go
value:
objectReference: {fileID: 1034211791}
- target: {fileID: 11498422, guid: 6ab4be07dd04115438edfc50dd6ed81e, type: 2}
propertyPath: TransformThatWontBeSaved
value:
objectReference: {fileID: 1034211797}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 6ab4be07dd04115438edfc50dd6ed81e, type: 2}
m_RootGameObject: {fileID: 1034211791}
m_IsPrefabParent: 0
--- !u!1 &1034211791
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 106558, guid: 6ab4be07dd04115438edfc50dd6ed81e, type: 2}
m_PrefabInternal: {fileID: 1034211790}
serializedVersion: 4
m_Component:
- 4: {fileID: 1034211797}
- 33: {fileID: 1034211796}
- 65: {fileID: 1034211795}
- 23: {fileID: 1034211794}
- 114: {fileID: 1034211793}
- 114: {fileID: 1034211792}
m_Layer: 0
m_Name: TestObject 1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1034211792
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 11498422, guid: 6ab4be07dd04115438edfc50dd6ed81e,
type: 2}
m_PrefabInternal: {fileID: 1034211790}
m_GameObject: {fileID: 1034211791}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 693e98742914c7b40b6f0d1b51020e3c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1034211793
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 11438930, guid: 6ab4be07dd04115438edfc50dd6ed81e,
type: 2}
m_PrefabInternal: {fileID: 1034211790}
m_GameObject: {fileID: 1034211791}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0c19f3e134862e74dbc98cb514a82ef5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!23 &1034211794
MeshRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 2315152, guid: 6ab4be07dd04115438edfc50dd6ed81e,
type: 2}
m_PrefabInternal: {fileID: 1034211790}
m_GameObject: {fileID: 1034211791}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_SubsetIndices:
m_StaticBatchRoot: {fileID: 0}
m_UseLightProbes: 1
m_ReflectionProbeUsage: 1
m_ProbeAnchor: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 1
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingOrder: 0
--- !u!65 &1034211795
BoxCollider:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 6552138, guid: 6ab4be07dd04115438edfc50dd6ed81e,
type: 2}
m_PrefabInternal: {fileID: 1034211790}
m_GameObject: {fileID: 1034211791}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!33 &1034211796
MeshFilter:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 3398618, guid: 6ab4be07dd04115438edfc50dd6ed81e,
type: 2}
m_PrefabInternal: {fileID: 1034211790}
m_GameObject: {fileID: 1034211791}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!4 &1034211797
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 416904, guid: 6ab4be07dd04115438edfc50dd6ed81e, type: 2}
m_PrefabInternal: {fileID: 1034211790}
m_GameObject: {fileID: 1034211791}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -4.52, y: 1.69, z: 3.07}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
--- !u!1001 &1984912377
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 497016, guid: f3b705d54062603418fef7f609535a48, type: 2}
propertyPath: m_LocalPosition.x
value: -2.28999996
objectReference: {fileID: 0}
- target: {fileID: 497016, guid: f3b705d54062603418fef7f609535a48, type: 2}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 497016, guid: f3b705d54062603418fef7f609535a48, type: 2}
propertyPath: m_LocalPosition.z
value: 1.78999996
objectReference: {fileID: 0}
- target: {fileID: 497016, guid: f3b705d54062603418fef7f609535a48, type: 2}
propertyPath: m_LocalRotation.x
value: -.0942660868
objectReference: {fileID: 0}
- target: {fileID: 497016, guid: f3b705d54062603418fef7f609535a48, type: 2}
propertyPath: m_LocalRotation.y
value: .405479193
objectReference: {fileID: 0}
- target: {fileID: 497016, guid: f3b705d54062603418fef7f609535a48, type: 2}
propertyPath: m_LocalRotation.z
value: -.45864588
objectReference: {fileID: 0}
- target: {fileID: 497016, guid: f3b705d54062603418fef7f609535a48, type: 2}
propertyPath: m_LocalRotation.w
value: .785076082
objectReference: {fileID: 0}
- target: {fileID: 497016, guid: f3b705d54062603418fef7f609535a48, type: 2}
propertyPath: m_RootOrder
value: 4
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: f3b705d54062603418fef7f609535a48, type: 2}
m_RootGameObject: {fileID: 469137979}
m_IsPrefabParent: 0