From c5672195a12e59952350cc8e3386d23efa4f27a4 Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Sat, 27 Apr 2019 12:18:18 +0200 Subject: Removed longcat --- nGJ2019/Assets/Sprites/longcat.png | Bin 202556 -> 0 bytes nGJ2019/Assets/Sprites/longcat.png.meta | 90 -------------------------------- 2 files changed, 90 deletions(-) delete mode 100644 nGJ2019/Assets/Sprites/longcat.png delete mode 100644 nGJ2019/Assets/Sprites/longcat.png.meta diff --git a/nGJ2019/Assets/Sprites/longcat.png b/nGJ2019/Assets/Sprites/longcat.png deleted file mode 100644 index e688f50..0000000 Binary files a/nGJ2019/Assets/Sprites/longcat.png and /dev/null differ diff --git a/nGJ2019/Assets/Sprites/longcat.png.meta b/nGJ2019/Assets/Sprites/longcat.png.meta deleted file mode 100644 index 9beb047..0000000 --- a/nGJ2019/Assets/Sprites/longcat.png.meta +++ /dev/null @@ -1,90 +0,0 @@ -fileFormatVersion: 2 -guid: f0c6b650c6eb34367a41045093051665 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 10 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: 1 - wrapV: 1 - wrapW: 1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: b040b8360c8964439871fd5251c4bd74 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: -- cgit v1.2.3 From dd7a4adbea30ab2e4435a314e8a3a570ed09a695 Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Sat, 27 Apr 2019 12:18:59 +0200 Subject: Added box colliders to obstacles --- nGJ2019/Assets/Prefabs/Obstacles.prefab | 374 ++++++ nGJ2019/Assets/Prefabs/Obstacles.prefab.meta | 7 + nGJ2019/Assets/Scenes/Marcin_sandbox.unity | 1627 +++++--------------------- 3 files changed, 655 insertions(+), 1353 deletions(-) create mode 100644 nGJ2019/Assets/Prefabs/Obstacles.prefab create mode 100644 nGJ2019/Assets/Prefabs/Obstacles.prefab.meta diff --git a/nGJ2019/Assets/Prefabs/Obstacles.prefab b/nGJ2019/Assets/Prefabs/Obstacles.prefab new file mode 100644 index 0000000..b5395c9 --- /dev/null +++ b/nGJ2019/Assets/Prefabs/Obstacles.prefab @@ -0,0 +1,374 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &1998900778231223134 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1998900778231223133} + m_Layer: 0 + m_Name: Obstacles + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1998900778231223133 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1998900778231223134} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -7.886415, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 6829481667242832773} + - {fileID: 6829481666799721321} + - {fileID: 6829481665498963961} + - {fileID: 6829481666739576186} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &7350926945773242645 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7538015035249639830} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 15.39, y: 5.46, z: 1} + m_Center: {x: 4.2, y: -3.84, z: 0} +--- !u!65 &2761854514729097118 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7538015035695901050} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 14.07, y: 4.32, z: 1} + m_Center: {x: 3.2, y: 0.96, z: 0} +--- !u!1001 &1998900776986113251 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1998900778231223133} + m_Modifications: + - target: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_Name + value: obstacle_rock_top (1) + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalPosition.x + value: 8.09 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalPosition.y + value: 2.63 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 416fae093739c55499f7dcb7d4f7f2c9, type: 3} +--- !u!4 &6829481665498963961 stripped +Transform: + m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + m_PrefabInstance: {fileID: 1998900776986113251} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1998900778229020256 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1998900778231223133} + m_Modifications: + - target: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_Name + value: obstacle_rock_bottom_1 (1) + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalPosition.x + value: 7.44 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.5994234 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: fbb1d264bae087340a30a49b9b9e0148, type: 3} +--- !u!4 &6829481666739576186 stripped +Transform: + m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + m_PrefabInstance: {fileID: 1998900778229020256} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1998900778239684723 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1998900778231223133} + m_Modifications: + - target: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_Name + value: obstacle_rock_top + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalPosition.x + value: 1.830543 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalPosition.y + value: 2.63 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 416fae093739c55499f7dcb7d4f7f2c9, type: 3} +--- !u!1 &7538015035695901050 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + m_PrefabInstance: {fileID: 1998900778239684723} + m_PrefabAsset: {fileID: 0} +--- !u!4 &6829481666799721321 stripped +Transform: + m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + m_PrefabInstance: {fileID: 1998900778239684723} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1998900778732132511 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1998900778231223133} + m_Modifications: + - target: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_Name + value: obstacle_rock_bottom_1 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalPosition.x + value: 1.1761003 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.5994234 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: fbb1d264bae087340a30a49b9b9e0148, type: 3} +--- !u!1 &7538015035249639830 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + m_PrefabInstance: {fileID: 1998900778732132511} + m_PrefabAsset: {fileID: 0} +--- !u!4 &6829481667242832773 stripped +Transform: + m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + m_PrefabInstance: {fileID: 1998900778732132511} + m_PrefabAsset: {fileID: 0} diff --git a/nGJ2019/Assets/Prefabs/Obstacles.prefab.meta b/nGJ2019/Assets/Prefabs/Obstacles.prefab.meta new file mode 100644 index 0000000..34071ad --- /dev/null +++ b/nGJ2019/Assets/Prefabs/Obstacles.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 1955f0f25a1504ef6978634b4e8986ca +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/nGJ2019/Assets/Scenes/Marcin_sandbox.unity b/nGJ2019/Assets/Scenes/Marcin_sandbox.unity index 4b7db59..96cbace 100644 --- a/nGJ2019/Assets/Scenes/Marcin_sandbox.unity +++ b/nGJ2019/Assets/Scenes/Marcin_sandbox.unity @@ -120,30 +120,6 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} ---- !u!4 &23460630 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - m_PrefabInstance: {fileID: 1870246754} - m_PrefabAsset: {fileID: 0} ---- !u!4 &53796761 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - m_PrefabInstance: {fileID: 368774787} - m_PrefabAsset: {fileID: 0} ---- !u!4 &78504062 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - m_PrefabInstance: {fileID: 819977111} - m_PrefabAsset: {fileID: 0} ---- !u!4 &80478934 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - m_PrefabInstance: {fileID: 267781092} - m_PrefabAsset: {fileID: 0} --- !u!1 &202725830 GameObject: m_ObjectHideFlags: 0 @@ -173,9 +149,11 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 218d588953d1b4b589c560e11b6588f4, type: 3} m_Name: m_EditorClassIdentifier: - updateRate: -1 - obstacles: {fileID: 1171072090} - background: {fileID: 1342555977} + UpdateRate: -5 + Obstacles: + - {fileID: 572685425} + - {fileID: 1961649641} + Background: {fileID: 1342555977} --- !u!4 &202725832 Transform: m_ObjectHideFlags: 0 @@ -185,1426 +163,375 @@ Transform: m_GameObject: {fileID: 202725830} 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: 1342555977} - - {fileID: 1171072090} - m_Father: {fileID: 0} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1001 &234711548 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1034610913} - m_Modifications: - - target: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_Name - value: obstacle_rock_top (2) - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.x - value: 1.830543 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.y - value: 2.63 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_RootOrder - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 416fae093739c55499f7dcb7d4f7f2c9, type: 3} ---- !u!1001 &267781092 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1339436242} - m_Modifications: - - target: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_Name - value: obstacle_rock_top (1) - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.x - value: 8.09 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.y - value: 2.63 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_RootOrder - value: 2 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 416fae093739c55499f7dcb7d4f7f2c9, type: 3} ---- !u!1001 &273192805 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1034610913} - m_Modifications: - - target: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_Name - value: obstacle_rock_bottom_1 (3) - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.x - value: 7.44 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.y - value: -0.5994234 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_RootOrder - value: 3 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: fbb1d264bae087340a30a49b9b9e0148, type: 3} ---- !u!1001 &368774787 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1246809285} - m_Modifications: - - target: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_Name - value: obstacle_rock_top (3) - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.x - value: 8.09 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.y - value: 2.63 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_RootOrder - value: 2 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 416fae093739c55499f7dcb7d4f7f2c9, type: 3} ---- !u!4 &371255930 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - m_PrefabInstance: {fileID: 273192805} - m_PrefabAsset: {fileID: 0} ---- !u!4 &391129453 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - m_PrefabInstance: {fileID: 1112409972} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &557936875 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 811680792} - m_Modifications: - - target: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_Name - value: obstacle_rock_top (2) - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.x - value: 1.830543 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.y - value: 2.63 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_RootOrder - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 416fae093739c55499f7dcb7d4f7f2c9, type: 3} ---- !u!1001 &699355625 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 811680792} - m_Modifications: - - target: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_Name - value: obstacle_rock_top (3) - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.x - value: 8.09 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.y - value: 2.63 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_RootOrder - value: 2 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 416fae093739c55499f7dcb7d4f7f2c9, type: 3} ---- !u!1 &811680791 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 811680792} - m_Layer: 0 - m_Name: Sub Obstacles 2 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &811680792 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 811680791} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 13, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: - - {fileID: 78504062} - - {fileID: 877256688} - - {fileID: 1531170104} - - {fileID: 909053081} - m_Father: {fileID: 1171072090} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1001 &819977111 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 811680792} - m_Modifications: - - target: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_Name - value: obstacle_rock_bottom_1 (2) - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.x - value: 1.1761003 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.y - value: -0.5994234 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_RootOrder - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: fbb1d264bae087340a30a49b9b9e0148, type: 3} ---- !u!4 &821158836 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - m_PrefabInstance: {fileID: 904704611} - m_PrefabAsset: {fileID: 0} ---- !u!4 &857908795 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - m_PrefabInstance: {fileID: 234711548} - m_PrefabAsset: {fileID: 0} ---- !u!4 &877256688 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - m_PrefabInstance: {fileID: 557936875} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &904704611 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1246809285} - m_Modifications: - - target: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_Name - value: obstacle_rock_bottom_1 (3) - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.x - value: 7.44 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.y - value: -0.5994234 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_RootOrder - value: 3 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: fbb1d264bae087340a30a49b9b9e0148, type: 3} ---- !u!4 &909053081 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - m_PrefabInstance: {fileID: 1886091618} - m_PrefabAsset: {fileID: 0} ---- !u!1 &1034610912 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1034610913} - m_Layer: 0 - m_Name: Sub Obstacles 4 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1034610913 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1034610912} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 39, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: - - {fileID: 1783743404} - - {fileID: 857908795} - - {fileID: 23460630} - - {fileID: 371255930} - m_Father: {fileID: 1171072090} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1001 &1112409972 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1339436242} - m_Modifications: - - target: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_Name - value: obstacle_rock_top - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.x - value: 1.830543 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.y - value: 2.63 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_RootOrder - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 416fae093739c55499f7dcb7d4f7f2c9, type: 3} ---- !u!1 &1171072089 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1171072090} - m_Layer: 0 - m_Name: Obstacles - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1171072090 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1171072089} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -7.886415, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: - - {fileID: 1339436242} - - {fileID: 811680792} - - {fileID: 1246809285} - - {fileID: 1034610913} - m_Father: {fileID: 202725832} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1001 &1172554087 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1339436242} - m_Modifications: - - target: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_Name - value: obstacle_rock_bottom_1 (1) - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.x - value: 7.44 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.y - value: -0.5994234 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_RootOrder - value: 3 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: fbb1d264bae087340a30a49b9b9e0148, type: 3} ---- !u!4 &1179160870 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - m_PrefabInstance: {fileID: 1382080966} - m_PrefabAsset: {fileID: 0} ---- !u!1 &1246809284 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1246809285} - m_Layer: 0 - m_Name: Sub Obstacles 3 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1246809285 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1246809284} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 26, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: - - {fileID: 1766939197} - - {fileID: 1179160870} - - {fileID: 53796761} - - {fileID: 821158836} - m_Father: {fileID: 1171072090} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1339436241 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1339436242} - m_Layer: 0 - m_Name: Sub Obstacles 1 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1339436242 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1339436241} - 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: 2146533230} - - {fileID: 391129453} - - {fileID: 80478934} - - {fileID: 2020787715} - m_Father: {fileID: 1171072090} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1342555976 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1342555977} - - component: {fileID: 1342555978} - m_Layer: 0 - m_Name: Background - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1342555977 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1342555976} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 8.886415, y: 0, z: 0} - m_LocalScale: {x: 1.736111, y: 1.736111, z: 1} - m_Children: [] - m_Father: {fileID: 202725832} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!212 &1342555978 -SpriteRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1342555976} - 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_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: -1 - m_Sprite: {fileID: 21300000, guid: f961209db19f64f58a67ad7f0554c561, type: 3} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_FlipX: 0 - m_FlipY: 0 - m_DrawMode: 0 - m_Size: {x: 20.48, y: 5.76} - m_AdaptiveModeThreshold: 0.5 - m_SpriteTileMode: 0 - m_WasSpriteAssigned: 1 - m_MaskInteraction: 0 - m_SpriteSortPoint: 0 ---- !u!1001 &1382080966 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1246809285} - m_Modifications: - - target: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_Name - value: obstacle_rock_top (2) - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.x - value: 1.830543 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.y - value: 2.63 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_RootOrder - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 416fae093739c55499f7dcb7d4f7f2c9, type: 3} ---- !u!1001 &1528493257 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1034610913} - m_Modifications: - - target: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_Name - value: obstacle_rock_bottom_1 (2) - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.x - value: 1.1761003 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.y - value: -0.5994234 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_RootOrder - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: fbb1d264bae087340a30a49b9b9e0148, type: 3} ---- !u!4 &1531170104 stripped + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1342555977} + - {fileID: 1576648787} + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &572685425 stripped Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, + m_CorrespondingSourceObject: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} - m_PrefabInstance: {fileID: 699355625} + m_PrefabInstance: {fileID: 963179641} m_PrefabAsset: {fileID: 0} ---- !u!1001 &1581686869 +--- !u!1001 &963179641 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: - m_TransformParent: {fileID: 1246809285} + m_TransformParent: {fileID: 0} m_Modifications: - - target: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223134, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_Name - value: obstacle_rock_bottom_1 (2) + value: Obstacles objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalPosition.x - value: 1.1761003 + value: -9.51 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalPosition.y - value: -0.5994234 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_RootOrder - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: fbb1d264bae087340a30a49b9b9e0148, type: 3} ---- !u!1001 &1742794648 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1339436242} - m_Modifications: - - target: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_Name - value: obstacle_rock_bottom_1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.x - value: 1.1761003 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_LocalPosition.y - value: -0.5994234 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalRotation.x - value: -0 + value: 0 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalRotation.y - value: -0 + value: 0 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalRotation.z - value: -0 + value: 0 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalRotation.w value: 1 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_RootOrder - value: 0 + value: 1 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalEulerAnglesHint.x value: 0 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalEulerAnglesHint.y value: 0 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: fbb1d264bae087340a30a49b9b9e0148, type: 3} ---- !u!4 &1766939197 stripped + m_SourcePrefab: {fileID: 100100000, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} +--- !u!1 &1342555976 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1342555977} + - component: {fileID: 1342555978} + m_Layer: 0 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1342555977 Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - m_PrefabInstance: {fileID: 1581686869} + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1342555976} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 8.886415, y: 0, z: 0} + m_LocalScale: {x: 1.736111, y: 1.736111, z: 1} + m_Children: [] + m_Father: {fileID: 202725832} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &1342555978 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1342555976} + 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_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: -1 + m_Sprite: {fileID: 21300000, guid: f961209db19f64f58a67ad7f0554c561, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 20.48, y: 5.76} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!1 &1508541068 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1508541070} + - component: {fileID: 1508541069} + m_Layer: 0 + m_Name: Directional Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!108 &1508541069 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} ---- !u!4 &1783743404 stripped + m_GameObject: {fileID: 1508541068} + m_Enabled: 1 + serializedVersion: 9 + m_Type: 1 + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 0 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &1508541070 Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - m_PrefabInstance: {fileID: 1528493257} + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} ---- !u!1001 &1870246754 -PrefabInstance: + m_GameObject: {fileID: 1508541068} + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} + m_LocalPosition: {x: -4.45036, y: -0.67610717, z: -0.7478653} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} +--- !u!1 &1576648786 +GameObject: m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1034610913} - m_Modifications: - - target: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_Name - value: obstacle_rock_top (3) - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.x - value: 8.09 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.y - value: 2.63 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_RootOrder - value: 2 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 416fae093739c55499f7dcb7d4f7f2c9, type: 3} ---- !u!1001 &1886091618 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1576648787} + - component: {fileID: 1576648788} + m_Layer: 0 + m_Name: ObstacleSpawner + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1576648787 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1576648786} + 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: 202725832} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1576648788 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1576648786} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7d21b52c27ae54df1b6a3f5da24c11e2, type: 3} + m_Name: + m_EditorClassIdentifier: + alfaPrefab: {fileID: 1998900778231223134, guid: 1955f0f25a1504ef6978634b4e8986ca, + type: 3} + betaPrefab: {fileID: 0} + scrolling: {fileID: 202725831} + spawnLine: 13.5 +--- !u!1001 &1920748800 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: - m_TransformParent: {fileID: 811680792} + m_TransformParent: {fileID: 0} m_Modifications: - - target: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223134, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_Name - value: obstacle_rock_bottom_1 (3) + value: Obstacles (1) objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalPosition.x - value: 7.44 + value: 0.68 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalPosition.y - value: -0.5994234 + value: 0 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalRotation.x - value: -0 + value: 0 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalRotation.y - value: -0 + value: 0 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalRotation.z - value: -0 + value: 0 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalRotation.w value: 1 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_RootOrder - value: 3 + value: 2 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalEulerAnglesHint.x value: 0 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalEulerAnglesHint.y value: 0 objectReference: {fileID: 0} - - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: fbb1d264bae087340a30a49b9b9e0148, type: 3} + m_SourcePrefab: {fileID: 100100000, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} --- !u!1 &1928510844 GameObject: m_ObjectHideFlags: 0 @@ -1688,15 +615,9 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!4 &2020787715 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - m_PrefabInstance: {fileID: 1172554087} - m_PrefabAsset: {fileID: 0} ---- !u!4 &2146533230 stripped +--- !u!4 &1961649641 stripped Transform: - m_CorrespondingSourceObject: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, + m_CorrespondingSourceObject: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3} - m_PrefabInstance: {fileID: 1742794648} + m_PrefabInstance: {fileID: 1920748800} m_PrefabAsset: {fileID: 0} -- cgit v1.2.3 From b1a279b551e2127ff9f530b205f2e1590ae51e9f Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Sat, 27 Apr 2019 12:19:37 +0200 Subject: Added level obstacles spawning --- nGJ2019/Assets/Scripts/LevelScrolling.cs | 27 +++++++++++++++------------ nGJ2019/Assets/Scripts/ObstacleSpawner.cs | 12 +++++++----- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/nGJ2019/Assets/Scripts/LevelScrolling.cs b/nGJ2019/Assets/Scripts/LevelScrolling.cs index b40f70e..025bf40 100644 --- a/nGJ2019/Assets/Scripts/LevelScrolling.cs +++ b/nGJ2019/Assets/Scripts/LevelScrolling.cs @@ -4,9 +4,9 @@ using UnityEngine; public class LevelScrolling : MonoBehaviour { - public int updateRate = 1; - public Transform obstacles; - public Transform background; + public int UpdateRate = 1; + public List Obstacles; + public Transform Background; private Vector3 initialBgPos; private float[] backgroundSize; @@ -31,10 +31,10 @@ public class LevelScrolling : MonoBehaviour private void ResizeBackground() { - var sr = background.GetComponent(); + var sr = Background.GetComponent(); if (sr == null) return; - background.localScale = new Vector3(1, 1, 1); + Background.localScale = new Vector3(1, 1, 1); var width = sr.sprite.bounds.size.x; var height = sr.sprite.bounds.size.y; @@ -45,22 +45,25 @@ public class LevelScrolling : MonoBehaviour var finalHeight = (float)(worldScreenHeight / height); var finalWidth = (float)(worldScreenWidth / width); - background.localScale = new Vector3(finalHeight, finalHeight, 1); + Background.localScale = new Vector3(finalHeight, finalHeight, 1); var viewportX = Camera.main.ViewportToWorldPoint(new Vector3(0, 1, 0)).x; - background.position = new Vector3(viewportX * -1, 0, 0); - initialBgPos = background.position; + Background.position = new Vector3(viewportX * -1, 0, 0); + initialBgPos = Background.position; } private void MoveObstacles() { - obstacles.Translate(new Vector2(0.1f * updateRate, 0)); + foreach (var o in Obstacles) + { + o.Translate(new Vector2(0.01f * UpdateRate, 0)); + } } private void MoveBackground() { - if (background.position.x > -initialBgPos.x) - background.Translate(new Vector2(0.1f * updateRate, 0)); - else background.position = initialBgPos; + if (Background.position.x > -initialBgPos.x) + Background.Translate(new Vector2(0.01f * UpdateRate, 0)); + else Background.position = initialBgPos; } } diff --git a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs index d007513..7be5b33 100644 --- a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs +++ b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs @@ -8,6 +8,7 @@ public class ObstacleSpawner : MonoBehaviour public GameObject alfaPrefab; public GameObject betaPrefab; + public LevelScrolling scrolling; public float spawnLine; @@ -21,15 +22,16 @@ public class ObstacleSpawner : MonoBehaviour if(e.type == EventTimeline.SpawnEventType.beta) prefab = betaPrefab; - Instantiate(prefab, new Vector3(spawnLine, e.height, 0), Quaternion.identity); + var transformT = ((GameObject) Instantiate(prefab, new Vector3(spawnLine, e.height, 0), Quaternion.identity)).transform; + scrolling.Obstacles.Add(transformT); } void Start() { - timeline.Add(2, 2, EventTimeline.SpawnEventType.alfa); - timeline.Add(4, 2, EventTimeline.SpawnEventType.beta); - timeline.Add(5, -2, EventTimeline.SpawnEventType.beta); - timeline.Add(7, -3, EventTimeline.SpawnEventType.alfa); + for(int i = 0; i < 120; i += 5) + { + timeline.Add(i, 0, EventTimeline.SpawnEventType.alfa); + } timeline.OnSpawnEvent += spawnOnEvent; } -- cgit v1.2.3 From 78bb8f508879ae0fdfec7b1970aa83bbce4c404e Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Sat, 27 Apr 2019 12:25:51 +0200 Subject: Fixed level obstacle spawning --- nGJ2019/Assets/Scripts/ObstacleSpawner.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs index 58c0ebb..102df97 100644 --- a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs +++ b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs @@ -30,7 +30,7 @@ public class ObstacleSpawner : MonoBehaviour { for(int i = 0; i < 120; i += 5) { - timeline.Add(i, 0, EventTimeline.SpawnEventType.alfa); + timeline.Add(i, 0, ObstacleType.alfa); } timeline.OnSpawnEvent += spawnOnEvent; -- cgit v1.2.3 From 1a90d920504e77af4fb16e108fe12e505386d2d5 Mon Sep 17 00:00:00 2001 From: miakata Date: Sat, 27 Apr 2019 14:00:07 +0200 Subject: Dragon --- nGJ2019/Assets/Models/dragon.FBX | Bin 0 -> 1728896 bytes nGJ2019/Assets/Models/dragon.FBX.meta | 126 +++++++++++++++++++++++++++++++ nGJ2019/Assets/Scenes/Mian_sandbox.unity | 113 +++++++++++++++++++++------ nGJ2019/Assets/Textures/crystal_live.mat | 2 +- 4 files changed, 218 insertions(+), 23 deletions(-) create mode 100644 nGJ2019/Assets/Models/dragon.FBX create mode 100644 nGJ2019/Assets/Models/dragon.FBX.meta diff --git a/nGJ2019/Assets/Models/dragon.FBX b/nGJ2019/Assets/Models/dragon.FBX new file mode 100644 index 0000000..b50b74e Binary files /dev/null and b/nGJ2019/Assets/Models/dragon.FBX differ diff --git a/nGJ2019/Assets/Models/dragon.FBX.meta b/nGJ2019/Assets/Models/dragon.FBX.meta new file mode 100644 index 0000000..974d858 --- /dev/null +++ b/nGJ2019/Assets/Models/dragon.FBX.meta @@ -0,0 +1,126 @@ +fileFormatVersion: 2 +guid: e1be0eb310d9e9f4f831374a5baf7718 +ModelImporter: + serializedVersion: 25 + internalIDToNameTable: + - first: + 74: 1827226128182048838 + second: Take 001 + externalObjects: {} + materials: + importMaterials: 1 + materialName: 0 + materialSearch: 1 + materialLocation: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + motionNodeName: + rigImportErrors: + rigImportWarnings: + animationImportErrors: + animationImportWarnings: + animationRetargetingWarnings: + animationDoRetargetingWarnings: 0 + importAnimatedCustomProperties: 0 + importConstraints: 0 + animationCompression: 1 + animationRotationError: 0.5 + animationPositionError: 0.5 + animationScaleError: 0.5 + animationWrapMode: 0 + extraExposedTransformPaths: [] + extraUserProperties: [] + clipAnimations: + - serializedVersion: 16 + name: Take 001 + takeName: Take 001 + internalID: 1827226128182048838 + firstFrame: 0 + lastFrame: 100 + wrapMode: 0 + orientationOffsetY: 0 + level: 0 + cycleOffset: 0 + loop: 0 + hasAdditiveReferencePose: 0 + loopTime: 0 + loopBlend: 0 + loopBlendOrientation: 0 + loopBlendPositionY: 0 + loopBlendPositionXZ: 0 + keepOriginalOrientation: 0 + keepOriginalPositionY: 1 + keepOriginalPositionXZ: 0 + heightFromFeet: 0 + mirror: 0 + bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000 + curves: [] + events: [] + transformMask: [] + maskType: 3 + maskSource: {instanceID: 0} + additiveReferencePoseFrame: 0 + isReadable: 0 + meshes: + lODScreenPercentages: [] + globalScale: 1 + meshCompression: 0 + addColliders: 0 + useSRGBMaterialColor: 1 + importVisibility: 1 + importBlendShapes: 1 + importCameras: 1 + importLights: 1 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + keepQuads: 0 + weldVertices: 1 + preserveHierarchy: 0 + skinWeightsMode: 0 + maxBonesPerVertex: 4 + minBoneWeight: 0.001 + meshOptimizationFlags: -1 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + useFileScale: 1 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + normalCalculationMode: 4 + legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 + blendShapeNormalImportMode: 1 + normalSmoothingSource: 0 + referencedClips: [] + importAnimation: 1 + copyAvatar: 0 + humanDescription: + serializedVersion: 3 + human: [] + skeleton: [] + armTwist: 0.5 + foreArmTwist: 0.5 + upperLegTwist: 0.5 + legTwist: 0.5 + armStretch: 0.05 + legStretch: 0.05 + feetSpacing: 0 + globalScale: 1 + rootMotionBoneName: + hasTranslationDoF: 0 + hasExtraRoot: 0 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + animationType: 2 + humanoidOversampling: 1 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/nGJ2019/Assets/Scenes/Mian_sandbox.unity b/nGJ2019/Assets/Scenes/Mian_sandbox.unity index b63a25d..99b708b 100644 --- a/nGJ2019/Assets/Scenes/Mian_sandbox.unity +++ b/nGJ2019/Assets/Scenes/Mian_sandbox.unity @@ -127,11 +127,6 @@ PrefabInstance: m_Modification: m_TransformParent: {fileID: 0} m_Modifications: - - target: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_Name - value: obstacle_rock_bottom_1 - objectReference: {fileID: 0} - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, type: 3} propertyPath: m_LocalPosition.x @@ -187,6 +182,11 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_Name + value: obstacle_rock_bottom_1 + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: fbb1d264bae087340a30a49b9b9e0148, type: 3} --- !u!1001 &248066052 @@ -196,11 +196,6 @@ PrefabInstance: m_Modification: m_TransformParent: {fileID: 0} m_Modifications: - - target: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_Name - value: obstacle_rock_top (1) - objectReference: {fileID: 0} - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, type: 3} propertyPath: m_LocalPosition.x @@ -256,6 +251,11 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_Name + value: obstacle_rock_top (1) + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 416fae093739c55499f7dcb7d4f7f2c9, type: 3} --- !u!1001 &694316132 @@ -265,11 +265,6 @@ PrefabInstance: m_Modification: m_TransformParent: {fileID: 0} m_Modifications: - - target: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, - type: 3} - propertyPath: m_Name - value: obstacle_rock_bottom_1 (1) - objectReference: {fileID: 0} - target: {fileID: -4216859302048453862, guid: fbb1d264bae087340a30a49b9b9e0148, type: 3} propertyPath: m_LocalPosition.x @@ -325,6 +320,11 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: -927199367670048503, guid: fbb1d264bae087340a30a49b9b9e0148, + type: 3} + propertyPath: m_Name + value: obstacle_rock_bottom_1 (1) + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: fbb1d264bae087340a30a49b9b9e0148, type: 3} --- !u!1 &1126295692 @@ -410,6 +410,75 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &1597041709 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: -927199367670048503, guid: e1be0eb310d9e9f4f831374a5baf7718, + type: 3} + propertyPath: m_Name + value: dragon + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: e1be0eb310d9e9f4f831374a5baf7718, + type: 3} + propertyPath: m_LocalPosition.x + value: -15.48061 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: e1be0eb310d9e9f4f831374a5baf7718, + type: 3} + propertyPath: m_LocalPosition.y + value: -1.870657 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: e1be0eb310d9e9f4f831374a5baf7718, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: e1be0eb310d9e9f4f831374a5baf7718, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: e1be0eb310d9e9f4f831374a5baf7718, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: e1be0eb310d9e9f4f831374a5baf7718, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: e1be0eb310d9e9f4f831374a5baf7718, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: e1be0eb310d9e9f4f831374a5baf7718, + type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: e1be0eb310d9e9f4f831374a5baf7718, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: e1be0eb310d9e9f4f831374a5baf7718, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -4216859302048453862, guid: e1be0eb310d9e9f4f831374a5baf7718, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: e1be0eb310d9e9f4f831374a5baf7718, type: 3} --- !u!1 &1636020288 GameObject: m_ObjectHideFlags: 0 @@ -472,7 +541,7 @@ SpriteRenderer: m_Size: {x: 10.24, y: 5.76} m_AdaptiveModeThreshold: 0.5 m_SpriteTileMode: 0 - m_WasSpriteAssigned: 1 + m_WasSpriteAssigned: 0 m_MaskInteraction: 0 m_SpriteSortPoint: 0 --- !u!4 &1636020290 @@ -487,7 +556,7 @@ Transform: m_LocalScale: {x: 2.19, y: 1.73, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 5 + m_RootOrder: 6 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &2114980576 PrefabInstance: @@ -496,11 +565,6 @@ PrefabInstance: m_Modification: m_TransformParent: {fileID: 0} m_Modifications: - - target: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, - type: 3} - propertyPath: m_Name - value: obstacle_rock_top - objectReference: {fileID: 0} - target: {fileID: -4216859302048453862, guid: 416fae093739c55499f7dcb7d4f7f2c9, type: 3} propertyPath: m_LocalPosition.x @@ -556,5 +620,10 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: -927199367670048503, guid: 416fae093739c55499f7dcb7d4f7f2c9, + type: 3} + propertyPath: m_Name + value: obstacle_rock_top + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 416fae093739c55499f7dcb7d4f7f2c9, type: 3} diff --git a/nGJ2019/Assets/Textures/crystal_live.mat b/nGJ2019/Assets/Textures/crystal_live.mat index 588b494..0e5df7a 100644 --- a/nGJ2019/Assets/Textures/crystal_live.mat +++ b/nGJ2019/Assets/Textures/crystal_live.mat @@ -7,7 +7,7 @@ Material: m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: crystl + m_Name: crystal_live m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} m_ShaderKeywords: m_LightmapFlags: 4 -- cgit v1.2.3