From 3f260fc79df759e1113bc4111c0eb0a4d7baafd8 Mon Sep 17 00:00:00 2001 From: trotFunky Date: Tue, 17 Sep 2019 20:47:50 +0200 Subject: [PATCH] Added components to Player --- Assets/Scenes/SampleScene.unity | 169 ++++++++++++++------------------ 1 file changed, 73 insertions(+), 96 deletions(-) diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index cd2dd19..1440b88 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -156,7 +156,7 @@ Camera: m_Enabled: 1 serializedVersion: 2 m_ClearFlags: 2 - m_BackGroundColor: {r: 0.1745283, g: 0.85500383, b: 1, a: 0} + m_BackGroundColor: {r: 0.18178178, g: 0.36272162, b: 0.8962264, a: 0} m_projectionMatrixMode: 1 m_GateFitMode: 2 m_FOVAxisMode: 0 @@ -203,100 +203,77 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1386934802 -GameObject: +--- !u!1001 &2690590979191089773 +PrefabInstance: m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1386934804} - - component: {fileID: 1386934803} - - component: {fileID: 1386934805} - m_Layer: 0 - m_Name: Player - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!212 &1386934803 -SpriteRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1386934802} - m_Enabled: 1 - m_CastShadows: 0 - m_ReceiveShadows: 0 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 0 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_Sprite: {fileID: 21300000, guid: 1fe77f169e8b4289c95cae0cff058bee, type: 3} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_FlipX: 0 - m_FlipY: 0 - m_DrawMode: 0 - m_Size: {x: 0.1, y: 0.1} - m_AdaptiveModeThreshold: 0.5 - m_SpriteTileMode: 0 - m_WasSpriteAssigned: 1 - m_MaskInteraction: 0 - m_SpriteSortPoint: 0 ---- !u!4 &1386934804 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1386934802} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0.051522817, y: -0.05536398, z: -0.18232574} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!58 &1386934805 -CircleCollider2D: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1386934802} - m_Enabled: 1 - m_Density: 1 - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_UsedByEffector: 0 - m_UsedByComposite: 0 - m_Offset: {x: 0, y: 0} serializedVersion: 2 - m_Radius: 0.25 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 2690590977808455807, guid: 3ae3c84bd570eb26d86ed9ec4e5fcba0, + type: 3} + propertyPath: m_Name + value: Player + objectReference: {fileID: 0} + - target: {fileID: 2690590977808455801, guid: 3ae3c84bd570eb26d86ed9ec4e5fcba0, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.051522817 + objectReference: {fileID: 0} + - target: {fileID: 2690590977808455801, guid: 3ae3c84bd570eb26d86ed9ec4e5fcba0, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.05536398 + objectReference: {fileID: 0} + - target: {fileID: 2690590977808455801, guid: 3ae3c84bd570eb26d86ed9ec4e5fcba0, + type: 3} + propertyPath: m_LocalPosition.z + value: -0.18232574 + objectReference: {fileID: 0} + - target: {fileID: 2690590977808455801, guid: 3ae3c84bd570eb26d86ed9ec4e5fcba0, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2690590977808455801, guid: 3ae3c84bd570eb26d86ed9ec4e5fcba0, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2690590977808455801, guid: 3ae3c84bd570eb26d86ed9ec4e5fcba0, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2690590977808455801, guid: 3ae3c84bd570eb26d86ed9ec4e5fcba0, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2690590977808455801, guid: 3ae3c84bd570eb26d86ed9ec4e5fcba0, + type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2690590977808455801, guid: 3ae3c84bd570eb26d86ed9ec4e5fcba0, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2690590977808455801, guid: 3ae3c84bd570eb26d86ed9ec4e5fcba0, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2690590977808455801, guid: 3ae3c84bd570eb26d86ed9ec4e5fcba0, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2690590977808455797, guid: 3ae3c84bd570eb26d86ed9ec4e5fcba0, + type: 3} + propertyPath: _maxSpeed + value: 7 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 3ae3c84bd570eb26d86ed9ec4e5fcba0, type: 3}