1
0
mirror of https://projects.caleb-brown.dev/UDRI-XRT/UDRIGEEKCup2024.git synced 2025-01-22 07:08:51 -05:00

Created Spear Trap and Multi-Spear Trap

This commit is contained in:
Abraham 2024-04-21 22:15:04 -04:00
parent 63649d6557
commit ded53d8ce2
10 changed files with 1740 additions and 3 deletions

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1437f67dc24b41e4b81886f2b44a2417
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,41 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MAVRIC.GEEKCup.Obstacles.SpearTrap
{
/// <summary>
/// Trap that activates spear traps in a set, rhythmic order
/// </summary>
public class MultiSpearTrap : MonoBehaviour
{
public List<SpearTrap> Traps = new List<SpearTrap>();
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);
}
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4524cf338e22a7f4eb5a7770cfa0f14b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -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);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9194ad1b3673a7e4cb889b5f359e7968
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -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}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 65b012c0c7329a74db8f5ab3cc809e45
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -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}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 121350421bed33542bd698b5be4e88de
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff