diff --git a/Assets/Obstacles/SpearTrap.meta b/Assets/Obstacles/SpearTrap.meta
new file mode 100644
index 00000000..ad88cc65
--- /dev/null
+++ b/Assets/Obstacles/SpearTrap.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 1437f67dc24b41e4b81886f2b44a2417
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Obstacles/SpearTrap/MultiSpearTrap.cs b/Assets/Obstacles/SpearTrap/MultiSpearTrap.cs
new file mode 100644
index 00000000..350ed2cf
--- /dev/null
+++ b/Assets/Obstacles/SpearTrap/MultiSpearTrap.cs
@@ -0,0 +1,41 @@
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+namespace MAVRIC.GEEKCup.Obstacles.SpearTrap
+{
+ ///
+ /// Trap that activates spear traps in a set, rhythmic order
+ ///
+ public class MultiSpearTrap : MonoBehaviour
+ {
+ public List Traps = new List();
+
+ public float trapUpTimeSeconds = 0.2f;
+
+ public float secondsBetweenTraps = 0.1f;
+
+ public float secondsBetweenCycles = 1.0f;
+
+
+ private void Start()
+ {
+ StartCoroutine(TrapCycle());
+ }
+
+ private IEnumerator TrapCycle()
+ {
+ while (true)
+ {
+ foreach (SpearTrap trap in Traps)
+ {
+ yield return new WaitForSeconds(secondsBetweenTraps);
+ trap.TriggerTrap(trapUpTimeSeconds);
+ }
+ yield return new WaitForSeconds(secondsBetweenCycles);
+ }
+ }
+
+ }
+}
diff --git a/Assets/Obstacles/SpearTrap/MultiSpearTrap.cs.meta b/Assets/Obstacles/SpearTrap/MultiSpearTrap.cs.meta
new file mode 100644
index 00000000..e722e978
--- /dev/null
+++ b/Assets/Obstacles/SpearTrap/MultiSpearTrap.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4524cf338e22a7f4eb5a7770cfa0f14b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Obstacles/SpearTrap/SpearTrap.cs b/Assets/Obstacles/SpearTrap/SpearTrap.cs
new file mode 100644
index 00000000..40fd4f6f
--- /dev/null
+++ b/Assets/Obstacles/SpearTrap/SpearTrap.cs
@@ -0,0 +1,65 @@
+using System;
+using System.Collections;
+using UnityEngine;
+
+namespace MAVRIC.GEEKCup.Obstacles.SpearTrap
+{
+ public class SpearTrap : MonoBehaviour
+ {
+ public Transform trapTransform;
+
+ private Vector3 unTriggeredPosition;
+ private Vector3 triggeredPosition = Vector3.zero;
+
+
+ public float timeToTriggeredPositionSeconds = 0.05f;
+
+ public float trapForce = 100.0f;
+
+ private Vector3 globalTrapStartingPosition;
+
+ private void Start()
+ {
+ unTriggeredPosition = trapTransform.localPosition;
+ globalTrapStartingPosition = trapTransform.position;
+ }
+
+ public void TriggerTrap(float upTime)
+ {
+ StartCoroutine(MoveUp());
+
+ IEnumerator MoveUp()
+ {
+ for (float timer = 0; timer <= timeToTriggeredPositionSeconds; timer += Time.deltaTime)
+ {
+ yield return null;
+ float percent = timer / timeToTriggeredPositionSeconds;
+ Vector3 newPos = Vector3.Lerp(unTriggeredPosition, triggeredPosition, percent);
+ trapTransform.localPosition = newPos;
+ }
+
+ trapTransform.localPosition = triggeredPosition;
+ for (float timer = upTime; timer >= 0.0f; timer -= Time.deltaTime)
+ {
+ yield return null;
+ }
+
+ for (float timer = 0; timer <= timeToTriggeredPositionSeconds; timer += Time.deltaTime)
+ {
+ yield return null;
+ float percent = timer / timeToTriggeredPositionSeconds;
+ Vector3 newPos = Vector3.Lerp(triggeredPosition, unTriggeredPosition, percent);
+ trapTransform.localPosition = newPos;
+ }
+ trapTransform.localPosition = unTriggeredPosition;
+ }
+ }
+
+ private void OnTriggerEnter(Collider other)
+ {
+ if(other.attachedRigidbody == null) return;
+ other.attachedRigidbody.AddExplosionForce(trapForce,globalTrapStartingPosition,1.0f);
+
+ }
+ }
+}
diff --git a/Assets/Obstacles/SpearTrap/SpearTrap.cs.meta b/Assets/Obstacles/SpearTrap/SpearTrap.cs.meta
new file mode 100644
index 00000000..82ef0d45
--- /dev/null
+++ b/Assets/Obstacles/SpearTrap/SpearTrap.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9194ad1b3673a7e4cb889b5f359e7968
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Obstacles/SpearTrap/SpearTrap.prefab b/Assets/Obstacles/SpearTrap/SpearTrap.prefab
new file mode 100644
index 00000000..85fc2565
--- /dev/null
+++ b/Assets/Obstacles/SpearTrap/SpearTrap.prefab
@@ -0,0 +1,265 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1 &3705573515105566364
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 3182081927656350380}
+ - component: {fileID: 5891883505174598643}
+ - component: {fileID: 5066915472679807426}
+ m_Layer: 0
+ m_Name: SpearTrap
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &3182081927656350380
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 3705573515105566364}
+ serializedVersion: 2
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: -0.838, y: 0.011, z: -0.692}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 5089378921958625255}
+ - {fileID: 4235794177508036092}
+ m_Father: {fileID: 0}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!114 &5891883505174598643
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 3705573515105566364}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9194ad1b3673a7e4cb889b5f359e7968, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ trapTransform: {fileID: 5089378921958625255}
+ timeToTriggeredPositionSeconds: 0.05
+ trapForce: 400
+--- !u!54 &5066915472679807426
+Rigidbody:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 3705573515105566364}
+ serializedVersion: 4
+ m_Mass: 1
+ m_Drag: 0
+ m_AngularDrag: 0.05
+ m_CenterOfMass: {x: 0, y: 0, z: 0}
+ m_InertiaTensor: {x: 1, y: 1, z: 1}
+ m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_IncludeLayers:
+ serializedVersion: 2
+ m_Bits: 0
+ m_ExcludeLayers:
+ serializedVersion: 2
+ m_Bits: 0
+ m_ImplicitCom: 1
+ m_ImplicitTensor: 1
+ m_UseGravity: 0
+ m_IsKinematic: 1
+ m_Interpolate: 0
+ m_Constraints: 0
+ m_CollisionDetection: 0
+--- !u!1 &5089378921958385347
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 5089378921958625255}
+ - component: {fileID: 5089378921955325883}
+ - component: {fileID: 5089378921956370585}
+ - component: {fileID: 5063435727989873179}
+ m_Layer: 0
+ m_Name: SM_Trap_Spears_01
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &5089378921958625255
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 5089378921958385347}
+ serializedVersion: 2
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: -0.5, z: 0}
+ m_LocalScale: {x: 0.2, y: 0.2, z: 0.2}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 3182081927656350380}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!33 &5089378921955325883
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 5089378921958385347}
+ m_Mesh: {fileID: 4300000, guid: ed0763b60f006b24b94165d33ef72639, type: 3}
+--- !u!23 &5089378921956370585
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 5089378921958385347}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_DynamicOccludee: 1
+ m_StaticShadowCaster: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_RayTracingMode: 2
+ m_RayTraceProcedural: 0
+ m_RenderingLayerMask: 1
+ m_RendererPriority: 0
+ m_Materials:
+ - {fileID: 2100000, guid: 42b64fdb315e3054ea757d8d1c4bcfa7, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_ReceiveGI: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_StitchLightmapSeams: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+ m_AdditionalVertexStreams: {fileID: 0}
+--- !u!64 &5063435727989873179
+MeshCollider:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 5089378921958385347}
+ m_Material: {fileID: 0}
+ m_IncludeLayers:
+ serializedVersion: 2
+ m_Bits: 0
+ m_ExcludeLayers:
+ serializedVersion: 2
+ m_Bits: 0
+ m_LayerOverridePriority: 0
+ m_IsTrigger: 1
+ m_ProvidesContacts: 0
+ m_Enabled: 1
+ serializedVersion: 5
+ m_Convex: 1
+ m_CookingOptions: 30
+ m_Mesh: {fileID: 43515474539484474, guid: c8f63325df0dc43438718b0c1e304075, type: 2}
+--- !u!1001 &4235794177508477300
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 3182081927656350380}
+ m_Modifications:
+ - target: {fileID: 143784, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+ propertyPath: m_Name
+ value: SM_Trap_Spears_Grate_01
+ objectReference: {fileID: 0}
+ - target: {fileID: 476296, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+ propertyPath: m_LocalScale.x
+ value: 0.2
+ objectReference: {fileID: 0}
+ - target: {fileID: 476296, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+ propertyPath: m_LocalScale.y
+ value: 0.2
+ objectReference: {fileID: 0}
+ - target: {fileID: 476296, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+ propertyPath: m_LocalScale.z
+ value: 0.2
+ objectReference: {fileID: 0}
+ - target: {fileID: 476296, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 476296, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 476296, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 476296, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 476296, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 476296, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 476296, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 476296, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 476296, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 476296, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 64223756046209130, guid: 76a92264ba847784b8ba58a15913b0fd,
+ type: 3}
+ propertyPath: m_Enabled
+ value: 0
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 76a92264ba847784b8ba58a15913b0fd, type: 3}
+--- !u!4 &4235794177508036092 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: 476296, guid: 76a92264ba847784b8ba58a15913b0fd,
+ type: 3}
+ m_PrefabInstance: {fileID: 4235794177508477300}
+ m_PrefabAsset: {fileID: 0}
diff --git a/Assets/Obstacles/SpearTrap/SpearTrap.prefab.meta b/Assets/Obstacles/SpearTrap/SpearTrap.prefab.meta
new file mode 100644
index 00000000..1c4374df
--- /dev/null
+++ b/Assets/Obstacles/SpearTrap/SpearTrap.prefab.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 65b012c0c7329a74db8f5ab3cc809e45
+PrefabImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Obstacles/SpearTrap/TripleSpearTrap.prefab b/Assets/Obstacles/SpearTrap/TripleSpearTrap.prefab
new file mode 100644
index 00000000..9de20d8e
--- /dev/null
+++ b/Assets/Obstacles/SpearTrap/TripleSpearTrap.prefab
@@ -0,0 +1,314 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1 &4573722480825020867
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 5910875775871257772}
+ - component: {fileID: 164717498750426386}
+ m_Layer: 0
+ m_Name: TripleSpearTrap
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &5910875775871257772
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 4573722480825020867}
+ serializedVersion: 2
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: -1.466, y: 0, z: -1.32}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 8829406894533443042}
+ - {fileID: 858471027212997340}
+ - {fileID: 4822254409156088679}
+ m_Father: {fileID: 0}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!114 &164717498750426386
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 4573722480825020867}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4524cf338e22a7f4eb5a7770cfa0f14b, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ Traps:
+ - {fileID: 532956074572188861}
+ - {fileID: 8504147028596564867}
+ - {fileID: 4539976584194466360}
+ trapUpTimeSeconds: 0.5
+ secondsBetweenTraps: 0.1
+ secondsBetweenCycles: 1
+--- !u!1001 &2864536197778862192
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 5910875775871257772}
+ m_Modifications:
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0.5
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0.021
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3705573515105566364, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_Name
+ value: SpearTrap2
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 65b012c0c7329a74db8f5ab3cc809e45, type: 3}
+--- !u!4 &858471027212997340 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 2864536197778862192}
+ m_PrefabAsset: {fileID: 0}
+--- !u!114 &8504147028596564867 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 5891883505174598643, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 2864536197778862192}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9194ad1b3673a7e4cb889b5f359e7968, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!1001 &6242372182642089806
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 5910875775871257772}
+ m_Modifications:
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0.021
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3705573515105566364, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_Name
+ value: SpearTrap1
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 65b012c0c7329a74db8f5ab3cc809e45, type: 3}
+--- !u!114 &532956074572188861 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 5891883505174598643, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 6242372182642089806}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9194ad1b3673a7e4cb889b5f359e7968, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!4 &8829406894533443042 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 6242372182642089806}
+ m_PrefabAsset: {fileID: 0}
+--- !u!1001 &7981803998852870603
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 5910875775871257772}
+ m_Modifications:
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0.021
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3705573515105566364, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_Name
+ value: SpearTrap3
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 65b012c0c7329a74db8f5ab3cc809e45, type: 3}
+--- !u!114 &4539976584194466360 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 5891883505174598643, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 7981803998852870603}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9194ad1b3673a7e4cb889b5f359e7968, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!4 &4822254409156088679 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 7981803998852870603}
+ m_PrefabAsset: {fileID: 0}
diff --git a/Assets/Obstacles/SpearTrap/TripleSpearTrap.prefab.meta b/Assets/Obstacles/SpearTrap/TripleSpearTrap.prefab.meta
new file mode 100644
index 00000000..891fdd45
--- /dev/null
+++ b/Assets/Obstacles/SpearTrap/TripleSpearTrap.prefab.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 121350421bed33542bd698b5be4e88de
+PrefabImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Scenes/TestControls.unity b/Assets/Scenes/TestControls.unity
index fc9619e4..436c0d02 100644
--- a/Assets/Scenes/TestControls.unity
+++ b/Assets/Scenes/TestControls.unity
@@ -123,6 +123,178 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
+--- !u!1001 &14005104
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 849346078}
+ m_Modifications:
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0.021
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3705573515105566364, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_Name
+ value: SpearTrap1
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 65b012c0c7329a74db8f5ab3cc809e45, type: 3}
+--- !u!114 &14005105 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 5891883505174598643, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 14005104}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9194ad1b3673a7e4cb889b5f359e7968, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!4 &14005106 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 14005104}
+ m_PrefabAsset: {fileID: 0}
+--- !u!1001 &53797760
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 2145791247}
+ m_Modifications:
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0.021
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3705573515105566364, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_Name
+ value: SpearTrap3
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 65b012c0c7329a74db8f5ab3cc809e45, type: 3}
+--- !u!114 &53797761 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 5891883505174598643, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 53797760}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9194ad1b3673a7e4cb889b5f359e7968, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!4 &53797762 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 53797760}
+ m_PrefabAsset: {fileID: 0}
--- !u!1 &130269498
GameObject:
m_ObjectHideFlags: 0
@@ -913,7 +1085,7 @@ PrefabInstance:
- target: {fileID: 332309251395339152, guid: c5a8f57575aacb64984560694a4962a8,
type: 3}
propertyPath: m_LocalPosition.y
- value: 0.13900007
+ value: 3.39
objectReference: {fileID: 0}
- target: {fileID: 332309251395339152, guid: c5a8f57575aacb64984560694a4962a8,
type: 3}
@@ -965,6 +1137,92 @@ PrefabInstance:
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c5a8f57575aacb64984560694a4962a8, type: 3}
+--- !u!1001 &242083951
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 849346078}
+ m_Modifications:
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0.5
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0.021
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3705573515105566364, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_Name
+ value: SpearTrap2
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 65b012c0c7329a74db8f5ab3cc809e45, type: 3}
+--- !u!114 &242083952 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 5891883505174598643, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 242083951}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9194ad1b3673a7e4cb889b5f359e7968, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!4 &242083953 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 242083951}
+ m_PrefabAsset: {fileID: 0}
--- !u!1 &363616410
GameObject:
m_ObjectHideFlags: 0
@@ -1232,6 +1490,264 @@ Transform:
m_Children: []
m_Father: {fileID: 2041401174}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1001 &435890337
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 1927374544}
+ m_Modifications:
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0.021
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3705573515105566364, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_Name
+ value: SpearTrap3
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 65b012c0c7329a74db8f5ab3cc809e45, type: 3}
+--- !u!114 &435890338 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 5891883505174598643, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 435890337}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9194ad1b3673a7e4cb889b5f359e7968, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!4 &435890339 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 435890337}
+ m_PrefabAsset: {fileID: 0}
+--- !u!1001 &536641696
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 1927374544}
+ m_Modifications:
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0.021
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3705573515105566364, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_Name
+ value: SpearTrap1
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 65b012c0c7329a74db8f5ab3cc809e45, type: 3}
+--- !u!114 &536641697 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 5891883505174598643, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 536641696}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9194ad1b3673a7e4cb889b5f359e7968, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!4 &536641698 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 536641696}
+ m_PrefabAsset: {fileID: 0}
+--- !u!1001 &735646270
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 2145791247}
+ m_Modifications:
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0.021
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3705573515105566364, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_Name
+ value: SpearTrap1
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 65b012c0c7329a74db8f5ab3cc809e45, type: 3}
+--- !u!114 &735646271 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 5891883505174598643, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 735646270}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9194ad1b3673a7e4cb889b5f359e7968, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!4 &735646272 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 735646270}
+ m_PrefabAsset: {fileID: 0}
--- !u!1 &765144257
GameObject:
m_ObjectHideFlags: 0
@@ -2022,6 +2538,60 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 819962205}
m_CullTransparentMesh: 1
+--- !u!1 &849346076
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 849346078}
+ - component: {fileID: 849346077}
+ m_Layer: 0
+ m_Name: MultiSpearTrap (2)
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &849346077
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 849346076}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4524cf338e22a7f4eb5a7770cfa0f14b, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ Traps:
+ - {fileID: 14005105}
+ - {fileID: 242083952}
+ - {fileID: 1443243299}
+ trapUpTimeSeconds: 0.5
+ secondsBetweenTraps: 0.1
+ secondsBetweenCycles: 1
+--- !u!4 &849346078
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 849346076}
+ serializedVersion: 2
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: -1.466, y: 0, z: -2.32}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 14005106}
+ - {fileID: 242083953}
+ - {fileID: 1443243300}
+ m_Father: {fileID: 0}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!43 &985481929
Mesh:
m_ObjectHideFlags: 0
@@ -2366,6 +2936,92 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 1178232459}
m_PrefabAsset: {fileID: 0}
+--- !u!1001 &1295182159
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 2145791247}
+ m_Modifications:
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0.5
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0.021
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3705573515105566364, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_Name
+ value: SpearTrap2
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 65b012c0c7329a74db8f5ab3cc809e45, type: 3}
+--- !u!114 &1295182160 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 5891883505174598643, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 1295182159}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9194ad1b3673a7e4cb889b5f359e7968, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!4 &1295182161 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 1295182159}
+ m_PrefabAsset: {fileID: 0}
--- !u!1 &1320667993
GameObject:
m_ObjectHideFlags: 0
@@ -2401,6 +3057,92 @@ Transform:
- {fileID: 1663162369}
m_Father: {fileID: 434066458}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1001 &1443243298
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 849346078}
+ m_Modifications:
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0.021
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3705573515105566364, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_Name
+ value: SpearTrap3
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 65b012c0c7329a74db8f5ab3cc809e45, type: 3}
+--- !u!114 &1443243299 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 5891883505174598643, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 1443243298}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9194ad1b3673a7e4cb889b5f359e7968, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!4 &1443243300 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 1443243298}
+ m_PrefabAsset: {fileID: 0}
--- !u!1 &1507380958
GameObject:
m_ObjectHideFlags: 0
@@ -2927,7 +3669,7 @@ Transform:
m_GameObject: {fileID: 1807783553}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalPosition: {x: -2.851, y: 0, z: -2.798}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -3361,6 +4103,60 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
anchorUpdatedEvent: {fileID: 11400000, guid: 13acac687a571c343ab02079296549cd, type: 2}
+--- !u!1 &1927374542
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1927374544}
+ - component: {fileID: 1927374543}
+ m_Layer: 0
+ m_Name: MultiSpearTrap (1)
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1927374543
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1927374542}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4524cf338e22a7f4eb5a7770cfa0f14b, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ Traps:
+ - {fileID: 536641697}
+ - {fileID: 2125672842}
+ - {fileID: 435890338}
+ trapUpTimeSeconds: 0.5
+ secondsBetweenTraps: 0.1
+ secondsBetweenCycles: 1
+--- !u!4 &1927374544
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1927374542}
+ serializedVersion: 2
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: -1.466, y: 0, z: -1.82}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 536641698}
+ - {fileID: 2125672843}
+ - {fileID: 435890339}
+ m_Father: {fileID: 0}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1994603662
GameObject:
m_ObjectHideFlags: 0
@@ -3712,6 +4508,146 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1001 &2125672841
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 1927374544}
+ m_Modifications:
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0.5
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0.021
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 3705573515105566364, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ propertyPath: m_Name
+ value: SpearTrap2
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 65b012c0c7329a74db8f5ab3cc809e45, type: 3}
+--- !u!114 &2125672842 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 5891883505174598643, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 2125672841}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9194ad1b3673a7e4cb889b5f359e7968, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!4 &2125672843 stripped
+Transform:
+ m_CorrespondingSourceObject: {fileID: 3182081927656350380, guid: 65b012c0c7329a74db8f5ab3cc809e45,
+ type: 3}
+ m_PrefabInstance: {fileID: 2125672841}
+ m_PrefabAsset: {fileID: 0}
+--- !u!1 &2145791245
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 2145791247}
+ - component: {fileID: 2145791246}
+ m_Layer: 0
+ m_Name: MultiSpearTrap (3)
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &2145791246
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2145791245}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4524cf338e22a7f4eb5a7770cfa0f14b, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ Traps:
+ - {fileID: 735646271}
+ - {fileID: 1295182160}
+ - {fileID: 53797761}
+ trapUpTimeSeconds: 0.5
+ secondsBetweenTraps: 0.1
+ secondsBetweenCycles: 1
+--- !u!4 &2145791247
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2145791245}
+ serializedVersion: 2
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: -1.466, y: 0, z: -2.82}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 735646272}
+ - {fileID: 1295182161}
+ - {fileID: 53797762}
+ m_Father: {fileID: 0}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &145634223592357450
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -4618,7 +5554,7 @@ Transform:
m_GameObject: {fileID: 7237674694152796921}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
- m_LocalPosition: {x: -0.18469918, y: 0.0737, z: 0.15}
+ m_LocalPosition: {x: -1.957, y: 0.0737, z: -1.904}
m_LocalScale: {x: 0.05, y: 0.05, z: 0.05}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -4740,6 +5676,74 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6597846410583883976}
m_CullTransparentMesh: 1
+--- !u!1001 &7117191791367783690
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: 4573722480825020867, guid: 121350421bed33542bd698b5be4e88de,
+ type: 3}
+ propertyPath: m_Name
+ value: MultiSpearTrap
+ objectReference: {fileID: 0}
+ - target: {fileID: 5910875775871257772, guid: 121350421bed33542bd698b5be4e88de,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: -1.466
+ objectReference: {fileID: 0}
+ - target: {fileID: 5910875775871257772, guid: 121350421bed33542bd698b5be4e88de,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 5910875775871257772, guid: 121350421bed33542bd698b5be4e88de,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: -1.32
+ objectReference: {fileID: 0}
+ - target: {fileID: 5910875775871257772, guid: 121350421bed33542bd698b5be4e88de,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 5910875775871257772, guid: 121350421bed33542bd698b5be4e88de,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 5910875775871257772, guid: 121350421bed33542bd698b5be4e88de,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 5910875775871257772, guid: 121350421bed33542bd698b5be4e88de,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 5910875775871257772, guid: 121350421bed33542bd698b5be4e88de,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 5910875775871257772, guid: 121350421bed33542bd698b5be4e88de,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 5910875775871257772, guid: 121350421bed33542bd698b5be4e88de,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 121350421bed33542bd698b5be4e88de, type: 3}
--- !u!114 &7118979550050290677
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -5096,3 +6100,7 @@ SceneRoots:
- {fileID: 1895921797}
- {fileID: 1885907698}
- {fileID: 196185785}
+ - {fileID: 7117191791367783690}
+ - {fileID: 1927374544}
+ - {fileID: 849346078}
+ - {fileID: 2145791247}