diff --git a/Assets/Prefabs/Room2/Walls.prefab b/Assets/Prefabs/Room2/Walls.prefab new file mode 100644 index 00000000..598b8f69 --- /dev/null +++ b/Assets/Prefabs/Room2/Walls.prefab @@ -0,0 +1,442 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &103610 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 4 + m_Component: + - 4: {fileID: 479354} + m_Layer: 0 + m_Name: Walls + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &150844 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 4 + m_Component: + - 4: {fileID: 410730} + - 33: {fileID: 3311664} + - 23: {fileID: 2353790} + - 61: {fileID: 6114852} + - 50: {fileID: 5068656} + - 251: {fileID: 25183626} + - 68: {fileID: 6849090} + - 114: {fileID: 11416996} + m_Layer: 0 + m_Name: Wall (3) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &157660 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 4 + m_Component: + - 4: {fileID: 428726} + - 33: {fileID: 3364846} + - 23: {fileID: 2355220} + - 61: {fileID: 6120662} + - 50: {fileID: 5024602} + - 251: {fileID: 25198916} + - 68: {fileID: 6870544} + - 114: {fileID: 11452496} + m_Layer: 0 + m_Name: Wall + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &180198 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 4 + m_Component: + - 4: {fileID: 462650} + - 33: {fileID: 3325220} + - 23: {fileID: 2389416} + - 50: {fileID: 5036930} + - 61: {fileID: 6162182} + - 251: {fileID: 25139164} + m_Layer: 0 + m_Name: Wall (2) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &410730 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_LocalRotation: {x: 0, y: 0, z: 1, w: -0.00000016292068} + m_LocalPosition: {x: 23.14, y: -1.53, z: 0} + m_LocalScale: {x: 2.2947865, y: 17.281456, z: 1} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 180} + m_Children: [] + m_Father: {fileID: 479354} + m_RootOrder: 2 +--- !u!4 &428726 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -10.83, y: -1.53, z: 0} + m_LocalScale: {x: 2.2947865, y: 17.281456, z: 1} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_Children: [] + m_Father: {fileID: 479354} + m_RootOrder: 0 +--- !u!4 &462650 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 180198} + m_LocalRotation: {x: 0, y: 0, z: 0.7071068, w: 0.7071067} + m_LocalPosition: {x: 5.92, y: 7.33, z: 0} + m_LocalScale: {x: 1, y: 35.17072, z: 1} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90} + m_Children: [] + m_Father: {fileID: 479354} + m_RootOrder: 1 +--- !u!4 &479354 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 103610} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -5.450504, y: 2.1655898, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 428726} + - {fileID: 462650} + - {fileID: 410730} + m_Father: {fileID: 0} + m_RootOrder: 0 +--- !u!23 &2353790 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_SubsetIndices: + m_StaticBatchRoot: {fileID: 0} + m_UseLightProbes: 1 + m_ReflectionProbeUsage: 1 + m_ProbeAnchor: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingOrder: 0 +--- !u!23 &2355220 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_SubsetIndices: + m_StaticBatchRoot: {fileID: 0} + m_UseLightProbes: 1 + m_ReflectionProbeUsage: 1 + m_ProbeAnchor: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingOrder: 0 +--- !u!23 &2389416 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 180198} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_SubsetIndices: + m_StaticBatchRoot: {fileID: 0} + m_UseLightProbes: 1 + m_ReflectionProbeUsage: 1 + m_ProbeAnchor: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingOrder: 0 +--- !u!33 &3311664 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &3325220 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 180198} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &3364846 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!50 &5024602 +Rigidbody2D: + serializedVersion: 2 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_UseAutoMass: 0 + m_Mass: 1 + m_LinearDrag: 0 + m_AngularDrag: 0.05 + m_GravityScale: 1 + m_IsKinematic: 1 + m_Interpolate: 0 + m_SleepingMode: 1 + m_CollisionDetection: 0 + m_Constraints: 0 +--- !u!50 &5036930 +Rigidbody2D: + serializedVersion: 2 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 180198} + m_UseAutoMass: 0 + m_Mass: 1 + m_LinearDrag: 0 + m_AngularDrag: 0.05 + m_GravityScale: 1 + m_IsKinematic: 1 + m_Interpolate: 0 + m_SleepingMode: 1 + m_CollisionDetection: 0 + m_Constraints: 0 +--- !u!50 &5068656 +Rigidbody2D: + serializedVersion: 2 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_UseAutoMass: 0 + m_Mass: 1 + m_LinearDrag: 0 + m_AngularDrag: 0.05 + m_GravityScale: 1 + m_IsKinematic: 1 + m_Interpolate: 0 + m_SleepingMode: 1 + m_CollisionDetection: 0 + m_Constraints: 0 +--- !u!61 &6114852 +BoxCollider2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_UsedByEffector: 1 + m_Offset: {x: 0, y: 0.0000000037252903} + serializedVersion: 2 + m_Size: {x: 1, y: 1} +--- !u!61 &6120662 +BoxCollider2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_UsedByEffector: 1 + m_Offset: {x: 0, y: 0.0000000037252903} + serializedVersion: 2 + m_Size: {x: 1, y: 1} +--- !u!61 &6162182 +BoxCollider2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 180198} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_UsedByEffector: 1 + m_Offset: {x: -0.0000009536743, y: 0.0000000055879354} + serializedVersion: 2 + m_Size: {x: 0.9999998, y: 0.9999999} +--- !u!68 &6849090 +EdgeCollider2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_Offset: {x: 0.3, y: 0} + m_Points: + - {x: 0.4864416, y: 0.4980056} + - {x: 0.48728108, y: -0.49655795} +--- !u!68 &6870544 +EdgeCollider2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_Offset: {x: 0.3, y: 0} + m_Points: + - {x: 0.4864416, y: 0.4980056} + - {x: 0.48728108, y: -0.49655795} +--- !u!114 &11416996 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 00de952460d278f4daf7112a4121608a, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &11452496 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 00de952460d278f4daf7112a4121608a, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!251 &25139164 +PlatformEffector2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 180198} + m_Enabled: 1 + m_UseColliderMask: 1 + m_ColliderMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_UseOneWay: 0 + m_UseOneWayGrouping: 0 + m_SurfaceArc: 180 + m_UseSideFriction: 0 + m_UseSideBounce: 0 + m_SideArc: 1 +--- !u!251 &25183626 +PlatformEffector2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_Enabled: 1 + m_UseColliderMask: 1 + m_ColliderMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_UseOneWay: 0 + m_UseOneWayGrouping: 0 + m_SurfaceArc: 180 + m_UseSideFriction: 0 + m_UseSideBounce: 0 + m_SideArc: 1 +--- !u!251 &25198916 +PlatformEffector2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_Enabled: 1 + m_UseColliderMask: 1 + m_ColliderMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_UseOneWay: 0 + m_UseOneWayGrouping: 0 + m_SurfaceArc: 180 + m_UseSideFriction: 0 + m_UseSideBounce: 0 + m_SideArc: 1 +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 103610} + m_IsPrefabParent: 1 diff --git a/Assets/Prefabs/Room2/Walls.prefab.meta b/Assets/Prefabs/Room2/Walls.prefab.meta new file mode 100644 index 00000000..087af7a6 --- /dev/null +++ b/Assets/Prefabs/Room2/Walls.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 17a0051b7ff744b4383f68ad6289496a +timeCreated: 1507533623 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Walls 1.prefab b/Assets/Prefabs/Walls 1.prefab new file mode 100644 index 00000000..04c00674 --- /dev/null +++ b/Assets/Prefabs/Walls 1.prefab @@ -0,0 +1,442 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &103610 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 4 + m_Component: + - 4: {fileID: 479354} + m_Layer: 0 + m_Name: Walls 1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &150844 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 4 + m_Component: + - 4: {fileID: 410730} + - 33: {fileID: 3311664} + - 23: {fileID: 2353790} + - 61: {fileID: 6114852} + - 50: {fileID: 5068656} + - 251: {fileID: 25183626} + - 68: {fileID: 6849090} + - 114: {fileID: 11416996} + m_Layer: 0 + m_Name: Wall (3) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &157660 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 4 + m_Component: + - 4: {fileID: 428726} + - 33: {fileID: 3364846} + - 23: {fileID: 2355220} + - 61: {fileID: 6120662} + - 50: {fileID: 5024602} + - 251: {fileID: 25198916} + - 68: {fileID: 6870544} + - 114: {fileID: 11452496} + m_Layer: 0 + m_Name: Wall + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &180198 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 4 + m_Component: + - 4: {fileID: 462650} + - 33: {fileID: 3325220} + - 23: {fileID: 2389416} + - 50: {fileID: 5036930} + - 61: {fileID: 6162182} + - 251: {fileID: 25139164} + m_Layer: 0 + m_Name: Wall (2) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &410730 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_LocalRotation: {x: 0, y: 0, z: 1, w: -0.00000016292068} + m_LocalPosition: {x: 23.14, y: -1.53, z: 0} + m_LocalScale: {x: 2.2947865, y: 17.281456, z: 1} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 180} + m_Children: [] + m_Father: {fileID: 479354} + m_RootOrder: 2 +--- !u!4 &428726 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -10.83, y: -1.53, z: 0} + m_LocalScale: {x: 2.2947865, y: 17.281456, z: 1} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_Children: [] + m_Father: {fileID: 479354} + m_RootOrder: 0 +--- !u!4 &462650 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 180198} + m_LocalRotation: {x: 0, y: 0, z: 0.7071068, w: 0.7071067} + m_LocalPosition: {x: 5.92, y: 7.33, z: 0} + m_LocalScale: {x: 1, y: 35.17072, z: 1} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90} + m_Children: [] + m_Father: {fileID: 479354} + m_RootOrder: 1 +--- !u!4 &479354 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 103610} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -5.450504, y: 2.1655898, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 428726} + - {fileID: 462650} + - {fileID: 410730} + m_Father: {fileID: 0} + m_RootOrder: 0 +--- !u!23 &2353790 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_SubsetIndices: + m_StaticBatchRoot: {fileID: 0} + m_UseLightProbes: 1 + m_ReflectionProbeUsage: 1 + m_ProbeAnchor: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingOrder: 0 +--- !u!23 &2355220 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_SubsetIndices: + m_StaticBatchRoot: {fileID: 0} + m_UseLightProbes: 1 + m_ReflectionProbeUsage: 1 + m_ProbeAnchor: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingOrder: 0 +--- !u!23 &2389416 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 180198} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_SubsetIndices: + m_StaticBatchRoot: {fileID: 0} + m_UseLightProbes: 1 + m_ReflectionProbeUsage: 1 + m_ProbeAnchor: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingOrder: 0 +--- !u!33 &3311664 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &3325220 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 180198} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &3364846 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!50 &5024602 +Rigidbody2D: + serializedVersion: 2 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_UseAutoMass: 0 + m_Mass: 1 + m_LinearDrag: 0 + m_AngularDrag: 0.05 + m_GravityScale: 1 + m_IsKinematic: 1 + m_Interpolate: 0 + m_SleepingMode: 1 + m_CollisionDetection: 0 + m_Constraints: 0 +--- !u!50 &5036930 +Rigidbody2D: + serializedVersion: 2 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 180198} + m_UseAutoMass: 0 + m_Mass: 1 + m_LinearDrag: 0 + m_AngularDrag: 0.05 + m_GravityScale: 1 + m_IsKinematic: 1 + m_Interpolate: 0 + m_SleepingMode: 1 + m_CollisionDetection: 0 + m_Constraints: 0 +--- !u!50 &5068656 +Rigidbody2D: + serializedVersion: 2 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_UseAutoMass: 0 + m_Mass: 1 + m_LinearDrag: 0 + m_AngularDrag: 0.05 + m_GravityScale: 1 + m_IsKinematic: 1 + m_Interpolate: 0 + m_SleepingMode: 1 + m_CollisionDetection: 0 + m_Constraints: 0 +--- !u!61 &6114852 +BoxCollider2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_UsedByEffector: 1 + m_Offset: {x: 0, y: 0.0000000037252903} + serializedVersion: 2 + m_Size: {x: 1, y: 1} +--- !u!61 &6120662 +BoxCollider2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_UsedByEffector: 1 + m_Offset: {x: 0, y: 0.0000000037252903} + serializedVersion: 2 + m_Size: {x: 1, y: 1} +--- !u!61 &6162182 +BoxCollider2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 180198} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_UsedByEffector: 1 + m_Offset: {x: -0.0000009536743, y: 0.0000000055879354} + serializedVersion: 2 + m_Size: {x: 0.9999998, y: 0.9999999} +--- !u!68 &6849090 +EdgeCollider2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_Offset: {x: 0.3, y: 0} + m_Points: + - {x: 0.4864416, y: 0.4980056} + - {x: 0.48728108, y: -0.49655795} +--- !u!68 &6870544 +EdgeCollider2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_Offset: {x: 0.3, y: 0} + m_Points: + - {x: 0.4864416, y: 0.4980056} + - {x: 0.48728108, y: -0.49655795} +--- !u!114 &11416996 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 00de952460d278f4daf7112a4121608a, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &11452496 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 00de952460d278f4daf7112a4121608a, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!251 &25139164 +PlatformEffector2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 180198} + m_Enabled: 1 + m_UseColliderMask: 1 + m_ColliderMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_UseOneWay: 0 + m_UseOneWayGrouping: 0 + m_SurfaceArc: 180 + m_UseSideFriction: 0 + m_UseSideBounce: 0 + m_SideArc: 1 +--- !u!251 &25183626 +PlatformEffector2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 150844} + m_Enabled: 1 + m_UseColliderMask: 1 + m_ColliderMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_UseOneWay: 0 + m_UseOneWayGrouping: 0 + m_SurfaceArc: 180 + m_UseSideFriction: 0 + m_UseSideBounce: 0 + m_SideArc: 1 +--- !u!251 &25198916 +PlatformEffector2D: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 157660} + m_Enabled: 1 + m_UseColliderMask: 1 + m_ColliderMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_UseOneWay: 0 + m_UseOneWayGrouping: 0 + m_SurfaceArc: 180 + m_UseSideFriction: 0 + m_UseSideBounce: 0 + m_SideArc: 1 +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 103610} + m_IsPrefabParent: 1 diff --git a/Assets/Prefabs/Walls 1.prefab.meta b/Assets/Prefabs/Walls 1.prefab.meta new file mode 100644 index 00000000..6ac511e4 --- /dev/null +++ b/Assets/Prefabs/Walls 1.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: aa7a4a91821cbd84e9282ee0feb43560 +timeCreated: 1507533250 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/level1room1.unity b/Assets/Scenes/level1room1.unity index ad1693fa..315278d2 100644 --- a/Assets/Scenes/level1room1.unity +++ b/Assets/Scenes/level1room1.unity @@ -143,7 +143,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 14 + m_RootOrder: 13 --- !u!1 &8345870 GameObject: m_ObjectHideFlags: 0 @@ -218,120 +218,6 @@ CanvasRenderer: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 8345870} ---- !u!1 &11019167 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 - m_Component: - - 4: {fileID: 11019168} - - 33: {fileID: 11019171} - - 23: {fileID: 11019169} - - 61: {fileID: 11019172} - - 50: {fileID: 11019170} - - 251: {fileID: 11019173} - m_Layer: 0 - m_Name: Wall (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &11019168 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 11019167} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 22.16, y: -1.37, z: 0} - m_LocalScale: {x: 0.756361, y: 17.602081, z: 1} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 1807320539} - m_RootOrder: 1 ---- !u!23 &11019169 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 11019167} - m_Enabled: 0 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_Materials: - - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} - m_SubsetIndices: - m_StaticBatchRoot: {fileID: 0} - m_UseLightProbes: 1 - m_ReflectionProbeUsage: 1 - m_ProbeAnchor: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 1 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingOrder: 0 ---- !u!50 &11019170 -Rigidbody2D: - serializedVersion: 2 - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 11019167} - m_UseAutoMass: 0 - m_Mass: 1 - m_LinearDrag: 0 - m_AngularDrag: 0.05 - m_GravityScale: 1 - m_IsKinematic: 1 - m_Interpolate: 0 - m_SleepingMode: 1 - m_CollisionDetection: 0 - m_Constraints: 0 ---- !u!33 &11019171 -MeshFilter: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 11019167} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!61 &11019172 -BoxCollider2D: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 11019167} - m_Enabled: 1 - m_Density: 1 - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_UsedByEffector: 1 - m_Offset: {x: 0, y: 0.0000000037252903} - serializedVersion: 2 - m_Size: {x: 1, y: 1} ---- !u!251 &11019173 -PlatformEffector2D: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 11019167} - m_Enabled: 1 - m_UseColliderMask: 1 - m_ColliderMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_UseOneWay: 0 - m_UseOneWayGrouping: 0 - m_SurfaceArc: 180 - m_UseSideFriction: 0 - m_UseSideBounce: 0 - m_SideArc: 1 --- !u!1001 &23127076 Prefab: m_ObjectHideFlags: 0 @@ -1136,7 +1022,7 @@ Transform: - {fileID: 1823824939} - {fileID: 1540743477} m_Father: {fileID: 0} - m_RootOrder: 8 + m_RootOrder: 7 --- !u!251 &277397828 PlatformEffector2D: m_ObjectHideFlags: 0 @@ -1270,6 +1156,14 @@ Prefab: propertyPath: m_TagString value: Box objectReference: {fileID: 0} + - target: {fileID: 6130516, guid: 9582cce20a27e574d9da4dda81e7ee47, type: 2} + propertyPath: m_IsTrigger + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6130516, guid: 9582cce20a27e574d9da4dda81e7ee47, type: 2} + propertyPath: m_Material + value: + objectReference: {fileID: 0} m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: 9582cce20a27e574d9da4dda81e7ee47, type: 2} m_IsPrefabParent: 0 @@ -1977,7 +1871,7 @@ Transform: m_Children: - {fileID: 756549376} m_Father: {fileID: 0} - m_RootOrder: 24 + m_RootOrder: 23 --- !u!1001 &464196486 Prefab: m_ObjectHideFlags: 0 @@ -2172,7 +2066,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 464964, guid: 6e69f909501db244285cba6895f12be0, type: 2} propertyPath: m_RootOrder - value: 25 + value: 24 objectReference: {fileID: 0} - target: {fileID: 134092, guid: 6e69f909501db244285cba6895f12be0, type: 2} propertyPath: m_Name @@ -2355,7 +2249,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 1797786735} - m_RootOrder: 3 + m_RootOrder: 2 --- !u!212 &521779642 SpriteRenderer: m_ObjectHideFlags: 0 @@ -2444,7 +2338,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 16 + m_RootOrder: 15 --- !u!1 &566734775 GameObject: m_ObjectHideFlags: 0 @@ -2563,7 +2457,7 @@ Transform: - {fileID: 2121599300} - {fileID: 1876675408} m_Father: {fileID: 0} - m_RootOrder: 7 + m_RootOrder: 6 --- !u!251 &588134148 PlatformEffector2D: m_ObjectHideFlags: 0 @@ -3458,7 +3352,7 @@ BoxCollider2D: m_GameObject: {fileID: 756549375} m_Enabled: 1 m_Density: 1 - m_Material: {fileID: 0} + m_Material: {fileID: 6200000, guid: 8705a8b11ebe34d4c923980e723498ac, type: 2} m_IsTrigger: 0 m_UsedByEffector: 0 m_Offset: {x: -0.02255944, y: 0.056257933} @@ -3643,7 +3537,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 19 + m_RootOrder: 18 --- !u!1 &775876045 GameObject: m_ObjectHideFlags: 0 @@ -3671,7 +3565,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 31 + m_RootOrder: 30 --- !u!1 &780163608 GameObject: m_ObjectHideFlags: 0 @@ -4101,6 +3995,21 @@ CanvasRenderer: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 863460477} +--- !u!1 &882305778 stripped +GameObject: + m_PrefabParentObject: {fileID: 113432, guid: 9582cce20a27e574d9da4dda81e7ee47, type: 2} + m_PrefabInternal: {fileID: 343571507} +--- !u!114 &882305779 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 882305778} + m_Enabled: 0 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 00de952460d278f4daf7112a4121608a, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1 &882463817 GameObject: m_ObjectHideFlags: 0 @@ -4284,7 +4193,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 1797786735} - m_RootOrder: 2 + m_RootOrder: 1 --- !u!212 &888767828 SpriteRenderer: m_ObjectHideFlags: 0 @@ -4480,7 +4389,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 26 + m_RootOrder: 25 --- !u!1 &923653213 GameObject: m_ObjectHideFlags: 0 @@ -4940,7 +4849,7 @@ Transform: - {fileID: 1156397839} - {fileID: 1314535366} m_Father: {fileID: 0} - m_RootOrder: 15 + m_RootOrder: 14 --- !u!114 &1030475647 MonoBehaviour: m_ObjectHideFlags: 0 @@ -5012,7 +4921,7 @@ Transform: - {fileID: 2138643196} - {fileID: 1330037242} m_Father: {fileID: 0} - m_RootOrder: 10 + m_RootOrder: 9 --- !u!251 &1045191212 PlatformEffector2D: m_ObjectHideFlags: 0 @@ -5128,7 +5037,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 27 + m_RootOrder: 26 --- !u!1 &1080679606 GameObject: m_ObjectHideFlags: 0 @@ -5159,7 +5068,7 @@ Transform: - {fileID: 1593248593} - {fileID: 1720852586} m_Father: {fileID: 0} - m_RootOrder: 20 + m_RootOrder: 19 --- !u!114 &1080679608 MonoBehaviour: m_ObjectHideFlags: 0 @@ -5326,7 +5235,7 @@ Transform: m_Children: - {fileID: 682783858} m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 3 --- !u!1 &1136693876 GameObject: m_ObjectHideFlags: 0 @@ -6082,7 +5991,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 23 + m_RootOrder: 22 --- !u!1 &1201635536 GameObject: m_ObjectHideFlags: 0 @@ -6508,7 +6417,7 @@ RectTransform: - {fileID: 1718768776} - {fileID: 43272509} m_Father: {fileID: 0} - m_RootOrder: 18 + m_RootOrder: 17 m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0} @@ -6536,120 +6445,6 @@ RectTransform: m_PrefabParentObject: {fileID: 22481824, guid: 3319f4b276d71e24d977b12e24e5b974, type: 2} m_PrefabInternal: {fileID: 1403785345} ---- !u!1 &1262023278 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 - m_Component: - - 4: {fileID: 1262023279} - - 33: {fileID: 1262023282} - - 23: {fileID: 1262023280} - - 61: {fileID: 1262023283} - - 50: {fileID: 1262023281} - - 251: {fileID: 1262023284} - m_Layer: 0 - m_Name: Wall - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1262023279 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1262023278} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -10.68, y: -1.53, z: 0} - m_LocalScale: {x: 2.2947865, y: 17.281456, z: 1} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 1807320539} - m_RootOrder: 0 ---- !u!23 &1262023280 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1262023278} - m_Enabled: 0 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_Materials: - - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} - m_SubsetIndices: - m_StaticBatchRoot: {fileID: 0} - m_UseLightProbes: 1 - m_ReflectionProbeUsage: 1 - m_ProbeAnchor: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 1 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingOrder: 0 ---- !u!50 &1262023281 -Rigidbody2D: - serializedVersion: 2 - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1262023278} - m_UseAutoMass: 0 - m_Mass: 1 - m_LinearDrag: 0 - m_AngularDrag: 0.05 - m_GravityScale: 1 - m_IsKinematic: 1 - m_Interpolate: 0 - m_SleepingMode: 1 - m_CollisionDetection: 0 - m_Constraints: 0 ---- !u!33 &1262023282 -MeshFilter: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1262023278} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!61 &1262023283 -BoxCollider2D: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1262023278} - m_Enabled: 1 - m_Density: 1 - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_UsedByEffector: 1 - m_Offset: {x: 0, y: 0.0000000037252903} - serializedVersion: 2 - m_Size: {x: 1, y: 1} ---- !u!251 &1262023284 -PlatformEffector2D: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1262023278} - m_Enabled: 1 - m_UseColliderMask: 1 - m_ColliderMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_UseOneWay: 0 - m_UseOneWayGrouping: 0 - m_SurfaceArc: 180 - m_UseSideFriction: 0 - m_UseSideBounce: 0 - m_SideArc: 1 --- !u!1 &1268107280 GameObject: m_ObjectHideFlags: 0 @@ -6762,7 +6557,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 400006, guid: 66fe2da2077f94183ae003dde85a8b1a, type: 2} propertyPath: m_RootOrder - value: 6 + value: 5 objectReference: {fileID: 0} - target: {fileID: 100006, guid: 66fe2da2077f94183ae003dde85a8b1a, type: 2} propertyPath: m_Name @@ -7358,7 +7153,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 33 + m_RootOrder: 32 --- !u!1 &1376475634 GameObject: m_ObjectHideFlags: 0 @@ -7542,7 +7337,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 22481824, guid: 3319f4b276d71e24d977b12e24e5b974, type: 2} propertyPath: m_RootOrder - value: 21 + value: 20 objectReference: {fileID: 0} - target: {fileID: 22481824, guid: 3319f4b276d71e24d977b12e24e5b974, type: 2} propertyPath: m_AnchoredPosition.x @@ -7714,11 +7509,11 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1503962070} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 27.52, y: -0.78, z: 0} - m_LocalScale: {x: 1.5, y: 0.20128869, z: 1} + m_LocalPosition: {x: 29.933336, y: -5.503333, z: 0} + m_LocalScale: {x: 1.6666667, y: 0.6709623, z: 3.3333333} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] - m_Father: {fileID: 1797786735} + m_Father: {fileID: 1528008509} m_RootOrder: 0 --- !u!212 &1503962072 SpriteRenderer: @@ -8054,9 +7849,10 @@ Transform: m_LocalPosition: {x: 0.58, y: 0.8709998, z: 0} m_LocalScale: {x: 0.9, y: 0.3, z: 0.3} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] + m_Children: + - {fileID: 1503962071} m_Father: {fileID: 1797786735} - m_RootOrder: 1 + m_RootOrder: 0 --- !u!212 &1528008510 SpriteRenderer: m_ObjectHideFlags: 0 @@ -8617,7 +8413,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 12 + m_RootOrder: 11 --- !u!1 &1617535426 GameObject: m_ObjectHideFlags: 0 @@ -8736,6 +8532,10 @@ Prefab: propertyPath: m_Enabled value: 1 objectReference: {fileID: 0} + - target: {fileID: 6130968, guid: 640f1341084b3fc4cb922503b6d31d22, type: 2} + propertyPath: m_Material + value: + objectReference: {fileID: 6200000, guid: 8705a8b11ebe34d4c923980e723498ac, type: 2} m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: 640f1341084b3fc4cb922503b6d31d22, type: 2} m_IsPrefabParent: 0 @@ -8958,7 +8758,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 11 + m_RootOrder: 10 --- !u!1 &1683947163 GameObject: m_ObjectHideFlags: 0 @@ -9159,7 +8959,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 13 + m_RootOrder: 12 --- !u!1 &1702328951 GameObject: m_ObjectHideFlags: 0 @@ -9581,7 +9381,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 22 + m_RootOrder: 21 --- !u!1 &1778963689 GameObject: m_ObjectHideFlags: 0 @@ -9765,13 +9565,12 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: - - {fileID: 1503962071} - {fileID: 1528008509} - {fileID: 888767827} - {fileID: 521779641} - {fileID: 1964091594} m_Father: {fileID: 0} - m_RootOrder: 5 + m_RootOrder: 4 --- !u!1001 &1802684515 Prefab: m_ObjectHideFlags: 0 @@ -9813,7 +9612,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 417340, guid: 3869373f9049d144a80b09b9f9567fec, type: 2} propertyPath: m_RootOrder - value: 29 + value: 28 objectReference: {fileID: 0} - target: {fileID: 112224, guid: 3869373f9049d144a80b09b9f9567fec, type: 2} propertyPath: m_Name @@ -10024,37 +9823,6 @@ CanvasRenderer: type: 2} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1805384478} ---- !u!1 &1807320536 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 - m_Component: - - 4: {fileID: 1807320539} - m_Layer: 0 - m_Name: Walls - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1807320539 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1807320536} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -5.450504, y: 2.1655898, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: - - {fileID: 1262023279} - - {fileID: 11019168} - - {fileID: 2054917032} - m_Father: {fileID: 0} - m_RootOrder: 3 --- !u!1 &1808555399 GameObject: m_ObjectHideFlags: 0 @@ -10101,7 +9869,7 @@ Transform: - {fileID: 635797097} - {fileID: 318509071} m_Father: {fileID: 0} - m_RootOrder: 9 + m_RootOrder: 8 --- !u!251 &1808555402 PlatformEffector2D: m_ObjectHideFlags: 0 @@ -10437,7 +10205,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: -53.68} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 17 + m_RootOrder: 16 --- !u!1 &1893248677 GameObject: m_ObjectHideFlags: 0 @@ -10567,7 +10335,61 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 28 + m_RootOrder: 27 +--- !u!1001 &1944662739 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 479354, guid: aa7a4a91821cbd84e9282ee0feb43560, type: 2} + propertyPath: m_LocalPosition.x + value: -5.450504 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: aa7a4a91821cbd84e9282ee0feb43560, type: 2} + propertyPath: m_LocalPosition.y + value: 2.1655898 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: aa7a4a91821cbd84e9282ee0feb43560, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: aa7a4a91821cbd84e9282ee0feb43560, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: aa7a4a91821cbd84e9282ee0feb43560, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: aa7a4a91821cbd84e9282ee0feb43560, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: aa7a4a91821cbd84e9282ee0feb43560, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: aa7a4a91821cbd84e9282ee0feb43560, type: 2} + propertyPath: m_RootOrder + value: 33 + objectReference: {fileID: 0} + - target: {fileID: 157660, guid: aa7a4a91821cbd84e9282ee0feb43560, type: 2} + propertyPath: m_TagString + value: Wall + objectReference: {fileID: 0} + - target: {fileID: 180198, guid: aa7a4a91821cbd84e9282ee0feb43560, type: 2} + propertyPath: m_TagString + value: Wall + objectReference: {fileID: 0} + - target: {fileID: 150844, guid: aa7a4a91821cbd84e9282ee0feb43560, type: 2} + propertyPath: m_TagString + value: Wall + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: aa7a4a91821cbd84e9282ee0feb43560, type: 2} + m_IsPrefabParent: 0 --- !u!1 &1964091593 GameObject: m_ObjectHideFlags: 0 @@ -10596,7 +10418,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 1797786735} - m_RootOrder: 4 + m_RootOrder: 3 --- !u!212 &1964091595 SpriteRenderer: m_ObjectHideFlags: 0 @@ -11106,120 +10928,6 @@ CanvasRenderer: type: 2} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1999690329} ---- !u!1 &2054917031 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 - m_Component: - - 4: {fileID: 2054917032} - - 33: {fileID: 2054917035} - - 23: {fileID: 2054917033} - - 50: {fileID: 2054917036} - - 61: {fileID: 2054917034} - - 251: {fileID: 2054917037} - m_Layer: 0 - m_Name: Wall (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &2054917032 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2054917031} - m_LocalRotation: {x: 0, y: 0, z: 0.7071068, w: 0.7071067} - m_LocalPosition: {x: 5.92, y: 7.33, z: 0} - m_LocalScale: {x: 1, y: 35.17072, z: 1} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90} - m_Children: [] - m_Father: {fileID: 1807320539} - m_RootOrder: 2 ---- !u!23 &2054917033 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2054917031} - m_Enabled: 0 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_Materials: - - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} - m_SubsetIndices: - m_StaticBatchRoot: {fileID: 0} - m_UseLightProbes: 1 - m_ReflectionProbeUsage: 1 - m_ProbeAnchor: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 1 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingOrder: 0 ---- !u!61 &2054917034 -BoxCollider2D: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2054917031} - m_Enabled: 1 - m_Density: 1 - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_UsedByEffector: 1 - m_Offset: {x: -0.0000009536743, y: 0.0000000055879354} - serializedVersion: 2 - m_Size: {x: 0.9999998, y: 0.9999999} ---- !u!33 &2054917035 -MeshFilter: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2054917031} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!50 &2054917036 -Rigidbody2D: - serializedVersion: 2 - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2054917031} - m_UseAutoMass: 0 - m_Mass: 1 - m_LinearDrag: 0 - m_AngularDrag: 0.05 - m_GravityScale: 1 - m_IsKinematic: 1 - m_Interpolate: 0 - m_SleepingMode: 1 - m_CollisionDetection: 0 - m_Constraints: 0 ---- !u!251 &2054917037 -PlatformEffector2D: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2054917031} - m_Enabled: 1 - m_UseColliderMask: 1 - m_ColliderMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_UseOneWay: 0 - m_UseOneWayGrouping: 0 - m_SurfaceArc: 180 - m_UseSideFriction: 0 - m_UseSideBounce: 0 - m_SideArc: 1 --- !u!1 &2061314745 GameObject: m_ObjectHideFlags: 0 @@ -11247,7 +10955,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 32 + m_RootOrder: 31 --- !u!1 &2062030405 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Scenes/level1room2.unity b/Assets/Scenes/level1room2.unity index ea4c1d10..63f90cd5 100644 --- a/Assets/Scenes/level1room2.unity +++ b/Assets/Scenes/level1room2.unity @@ -990,7 +990,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 51 + m_RootOrder: 50 --- !u!1 &302879805 GameObject: m_ObjectHideFlags: 0 @@ -1168,7 +1168,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 22 + m_RootOrder: 21 --- !u!61 &310578733 BoxCollider2D: m_ObjectHideFlags: 0 @@ -1261,7 +1261,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 16 + m_RootOrder: 15 --- !u!61 &315054427 BoxCollider2D: m_ObjectHideFlags: 0 @@ -3186,7 +3186,7 @@ Transform: m_Children: - {fileID: 1844927988} m_Father: {fileID: 0} - m_RootOrder: 44 + m_RootOrder: 43 --- !u!1 &377297438 GameObject: m_ObjectHideFlags: 0 @@ -3840,7 +3840,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 24 + m_RootOrder: 23 --- !u!61 &484451951 BoxCollider2D: m_ObjectHideFlags: 0 @@ -4399,7 +4399,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 34 + m_RootOrder: 33 --- !u!1 &572949802 GameObject: m_ObjectHideFlags: 0 @@ -4473,7 +4473,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 29 + m_RootOrder: 28 --- !u!1 &595954020 GameObject: m_ObjectHideFlags: 0 @@ -4535,7 +4535,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 19 + m_RootOrder: 18 --- !u!61 &595954023 BoxCollider2D: m_ObjectHideFlags: 0 @@ -4812,7 +4812,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 31 + m_RootOrder: 30 --- !u!1001 &664961179 Prefab: m_ObjectHideFlags: 0 @@ -4940,7 +4940,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 20 + m_RootOrder: 19 --- !u!61 &699183984 BoxCollider2D: m_ObjectHideFlags: 0 @@ -5255,7 +5255,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 27 + m_RootOrder: 26 --- !u!50 &767561226 Rigidbody2D: serializedVersion: 2 @@ -5643,7 +5643,7 @@ Transform: - {fileID: 1761057382} - {fileID: 350478314} m_Father: {fileID: 0} - m_RootOrder: 12 + m_RootOrder: 11 --- !u!1 &799622658 GameObject: m_ObjectHideFlags: 0 @@ -5970,7 +5970,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 41 + m_RootOrder: 40 --- !u!1 &819274062 GameObject: m_ObjectHideFlags: 0 @@ -6165,7 +6165,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 32 + m_RootOrder: 31 --- !u!50 &851024269 Rigidbody2D: serializedVersion: 2 @@ -6675,112 +6675,6 @@ Transform: m_Children: [] m_Father: {fileID: 1833364451} m_RootOrder: 31 ---- !u!1001 &979407711 -Prefab: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 455264, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalPosition.x - value: -6 - objectReference: {fileID: 0} - - target: {fileID: 455264, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalPosition.y - value: 3 - objectReference: {fileID: 0} - - target: {fileID: 455264, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 455264, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 455264, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 455264, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 455264, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 455264, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_RootOrder - value: 5 - objectReference: {fileID: 0} - - target: {fileID: 455264, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalScale.x - value: 1.2 - objectReference: {fileID: 0} - - target: {fileID: 455264, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalScale.y - value: 1.2 - objectReference: {fileID: 0} - - target: {fileID: 480908, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalPosition.y - value: 9.29 - objectReference: {fileID: 0} - - target: {fileID: 419194, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalPosition.x - value: -12.56 - objectReference: {fileID: 0} - - target: {fileID: 419194, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalScale.x - value: 1.149705 - objectReference: {fileID: 0} - - target: {fileID: 419194, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalPosition.y - value: -0.83 - objectReference: {fileID: 0} - - target: {fileID: 419194, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalScale.y - value: 18.698442 - objectReference: {fileID: 0} - - target: {fileID: 487564, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalPosition.y - value: -0.9 - objectReference: {fileID: 0} - - target: {fileID: 487564, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalScale.y - value: 18.556664 - objectReference: {fileID: 0} - - target: {fileID: 487564, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalPosition.x - value: 22.39 - objectReference: {fileID: 0} - - target: {fileID: 487564, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalScale.x - value: 0.7744273 - objectReference: {fileID: 0} - - target: {fileID: 480908, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalScale.x - value: 1.9868683 - objectReference: {fileID: 0} - - target: {fileID: 480908, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalPosition.x - value: 5.65 - objectReference: {fileID: 0} - - target: {fileID: 480908, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_LocalScale.y - value: 34.64268 - objectReference: {fileID: 0} - - target: {fileID: 6170420, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_Offset.y - value: -0.016236283 - objectReference: {fileID: 0} - - target: {fileID: 6170420, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - propertyPath: m_Size.y - value: 1.0324724 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: fd8982d5e57cd004ba05aad2f6b0b168, type: 2} - m_IsPrefabParent: 0 --- !u!1001 &992533682 Prefab: m_ObjectHideFlags: 0 @@ -7233,6 +7127,60 @@ Prefab: m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: 9582cce20a27e574d9da4dda81e7ee47, type: 2} m_IsPrefabParent: 0 +--- !u!1001 &1131113117 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 479354, guid: 17a0051b7ff744b4383f68ad6289496a, type: 2} + propertyPath: m_LocalPosition.x + value: -6.99 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: 17a0051b7ff744b4383f68ad6289496a, type: 2} + propertyPath: m_LocalPosition.y + value: 3.63 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: 17a0051b7ff744b4383f68ad6289496a, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: 17a0051b7ff744b4383f68ad6289496a, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: 17a0051b7ff744b4383f68ad6289496a, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: 17a0051b7ff744b4383f68ad6289496a, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: 17a0051b7ff744b4383f68ad6289496a, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: 17a0051b7ff744b4383f68ad6289496a, type: 2} + propertyPath: m_RootOrder + value: 51 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: 17a0051b7ff744b4383f68ad6289496a, type: 2} + propertyPath: m_LocalScale.x + value: 1.4 + objectReference: {fileID: 0} + - target: {fileID: 479354, guid: 17a0051b7ff744b4383f68ad6289496a, type: 2} + propertyPath: m_LocalScale.y + value: 1.35 + objectReference: {fileID: 0} + - target: {fileID: 410730, guid: 17a0051b7ff744b4383f68ad6289496a, type: 2} + propertyPath: m_LocalPosition.x + value: 20.77 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 17a0051b7ff744b4383f68ad6289496a, type: 2} + m_IsPrefabParent: 0 --- !u!1 &1134005678 GameObject: m_ObjectHideFlags: 0 @@ -7512,7 +7460,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 47 + m_RootOrder: 46 --- !u!1001 &1178956415 Prefab: m_ObjectHideFlags: 0 @@ -7558,7 +7506,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 11455370, guid: 3869373f9049d144a80b09b9f9567fec, type: 2} propertyPath: sceneToLoad - value: room1level3 + value: level1room3 objectReference: {fileID: 0} - target: {fileID: 11455370, guid: 3869373f9049d144a80b09b9f9567fec, type: 2} propertyPath: nextSceneId @@ -7699,7 +7647,7 @@ Transform: m_Children: - {fileID: 910621581} m_Father: {fileID: 0} - m_RootOrder: 18 + m_RootOrder: 17 --- !u!61 &1188425479 BoxCollider2D: m_ObjectHideFlags: 0 @@ -7893,7 +7841,7 @@ Transform: - {fileID: 31731014} - {fileID: 756319902} m_Father: {fileID: 0} - m_RootOrder: 13 + m_RootOrder: 12 --- !u!114 &1272798640 MonoBehaviour: m_ObjectHideFlags: 0 @@ -8012,7 +7960,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 33 + m_RootOrder: 32 --- !u!1 &1328871665 GameObject: m_ObjectHideFlags: 0 @@ -8074,7 +8022,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 14 + m_RootOrder: 13 --- !u!61 &1328871668 BoxCollider2D: m_ObjectHideFlags: 0 @@ -8539,7 +8487,7 @@ Transform: m_Children: - {fileID: 538617430} m_Father: {fileID: 0} - m_RootOrder: 25 + m_RootOrder: 24 --- !u!61 &1380273069 BoxCollider2D: m_ObjectHideFlags: 0 @@ -8640,7 +8588,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 11 + m_RootOrder: 10 --- !u!1 &1411585419 GameObject: m_ObjectHideFlags: 0 @@ -8735,7 +8683,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 43 + m_RootOrder: 42 --- !u!1001 &1416982829 Prefab: m_ObjectHideFlags: 0 @@ -9277,7 +9225,7 @@ Transform: m_Children: - {fileID: 1577550015} m_Father: {fileID: 0} - m_RootOrder: 42 + m_RootOrder: 41 --- !u!1 &1549393406 GameObject: m_ObjectHideFlags: 0 @@ -9545,7 +9493,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 17 + m_RootOrder: 16 --- !u!50 &1581035053 Rigidbody2D: serializedVersion: 2 @@ -9721,7 +9669,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 50 + m_RootOrder: 49 --- !u!1001 &1748422150 Prefab: m_ObjectHideFlags: 0 @@ -10013,7 +9961,7 @@ Transform: - {fileID: 347862966} - {fileID: 644164883} m_Father: {fileID: 0} - m_RootOrder: 21 + m_RootOrder: 20 --- !u!61 &1788259484 BoxCollider2D: m_ObjectHideFlags: 0 @@ -10119,7 +10067,7 @@ Transform: - {fileID: 927153591} - {fileID: 555139246} m_Father: {fileID: 0} - m_RootOrder: 30 + m_RootOrder: 29 --- !u!1 &1833397392 GameObject: m_ObjectHideFlags: 0 @@ -10182,7 +10130,7 @@ Transform: m_Children: - {fileID: 1134005679} m_Father: {fileID: 0} - m_RootOrder: 23 + m_RootOrder: 22 --- !u!61 &1833397395 BoxCollider2D: m_ObjectHideFlags: 0 @@ -10254,7 +10202,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 35 + m_RootOrder: 34 --- !u!1 &1844927987 GameObject: m_ObjectHideFlags: 0 @@ -10736,7 +10684,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 15 + m_RootOrder: 14 --- !u!1 &1993707043 stripped GameObject: m_PrefabParentObject: {fileID: 133338, guid: 8fb6f60d33de0714a9d89ef1e45c749a, type: 2} diff --git a/Assets/Scripts/BoxWallCollider.cs b/Assets/Scripts/BoxWallCollider.cs new file mode 100644 index 00000000..30e70d0a --- /dev/null +++ b/Assets/Scripts/BoxWallCollider.cs @@ -0,0 +1,23 @@ +using UnityEngine; +using System.Collections; + +public class BoxWallCollider : MonoBehaviour { + + // Use this for initialization + void Start () { + + } + + // Update is called once per frame + void Update () { + + } + + void OnCollisionEnter2D(Collision2D col) + { + if (!col.gameObject.tag.Equals("Box")) + { + Physics2D.IgnoreCollision(col.gameObject.GetComponent(), GetComponent()); + } + } +} diff --git a/Assets/Scripts/BoxWallCollider.cs.meta b/Assets/Scripts/BoxWallCollider.cs.meta new file mode 100644 index 00000000..9fa0d683 --- /dev/null +++ b/Assets/Scripts/BoxWallCollider.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 00de952460d278f4daf7112a4121608a +timeCreated: 1507509165 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/RandomLootSystem2D.cs b/RandomLootSystem2D.cs deleted file mode 100644 index 4b8d417b..00000000 --- a/RandomLootSystem2D.cs +++ /dev/null @@ -1,40 +0,0 @@ -using UnityEngine; -using System.Collections; - -public class RandomLootSystem2D : MonoBehaviour -{ - - public int amountOfLoot = 10; - static ItemDataBaseList inventoryItemList; - - int counter = 0; - - // Use this for initialization - void Start() - { - - inventoryItemList = (ItemDataBaseList)Resources.Load("ItemDatabase"); - - while (counter < amountOfLoot) - { - counter++; - - int randomNumber = Random.Range(1, inventoryItemList.itemList.Count - 1); - - float x = Random.Range(0, 2); - - if (inventoryItemList.itemList[randomNumber].itemModel == null) - counter--; - else - { - GameObject randomLootItem = (GameObject)Instantiate(inventoryItemList.itemList[randomNumber].itemModel); - PickUpItem item = randomLootItem.AddComponent(); - item.item = inventoryItemList.itemList[randomNumber]; - - randomLootItem.transform.localPosition = new Vector3(x, 0, 0); - } - } - - } - -}