Compare commits
3 commits
11f36b94aa
...
a00c166f94
Author | SHA1 | Date | |
---|---|---|---|
Mark Joshwel | a00c166f94 | ||
Mark Joshwel | fbea2d117d | ||
Mark Joshwel | 3b7ed3694b |
11119
RunningLateGame/Assets/Scenes/AerialFaithPlayground.unity
Normal file
11119
RunningLateGame/Assets/Scenes/AerialFaithPlayground.unity
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,780 +0,0 @@
|
||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!29 &1
|
|
||||||
OcclusionCullingSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_OcclusionBakeSettings:
|
|
||||||
smallestOccluder: 5
|
|
||||||
smallestHole: 0.25
|
|
||||||
backfaceThreshold: 100
|
|
||||||
m_SceneGUID: 00000000000000000000000000000000
|
|
||||||
m_OcclusionCullingData: {fileID: 0}
|
|
||||||
--- !u!104 &2
|
|
||||||
RenderSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 9
|
|
||||||
m_Fog: 0
|
|
||||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
|
||||||
m_FogMode: 3
|
|
||||||
m_FogDensity: 0.01
|
|
||||||
m_LinearFogStart: 0
|
|
||||||
m_LinearFogEnd: 300
|
|
||||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
|
||||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
|
||||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
|
||||||
m_AmbientIntensity: 1
|
|
||||||
m_AmbientMode: 0
|
|
||||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
|
||||||
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_HaloStrength: 0.5
|
|
||||||
m_FlareStrength: 1
|
|
||||||
m_FlareFadeSpeed: 3
|
|
||||||
m_HaloTexture: {fileID: 0}
|
|
||||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_DefaultReflectionMode: 0
|
|
||||||
m_DefaultReflectionResolution: 128
|
|
||||||
m_ReflectionBounces: 1
|
|
||||||
m_ReflectionIntensity: 1
|
|
||||||
m_CustomReflection: {fileID: 0}
|
|
||||||
m_Sun: {fileID: 0}
|
|
||||||
m_UseRadianceAmbientProbe: 0
|
|
||||||
--- !u!157 &3
|
|
||||||
LightmapSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 12
|
|
||||||
m_GIWorkflowMode: 1
|
|
||||||
m_GISettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_BounceScale: 1
|
|
||||||
m_IndirectOutputScale: 1
|
|
||||||
m_AlbedoBoost: 1
|
|
||||||
m_EnvironmentLightingMode: 0
|
|
||||||
m_EnableBakedLightmaps: 1
|
|
||||||
m_EnableRealtimeLightmaps: 0
|
|
||||||
m_LightmapEditorSettings:
|
|
||||||
serializedVersion: 12
|
|
||||||
m_Resolution: 2
|
|
||||||
m_BakeResolution: 40
|
|
||||||
m_AtlasSize: 1024
|
|
||||||
m_AO: 0
|
|
||||||
m_AOMaxDistance: 1
|
|
||||||
m_CompAOExponent: 1
|
|
||||||
m_CompAOExponentDirect: 0
|
|
||||||
m_ExtractAmbientOcclusion: 0
|
|
||||||
m_Padding: 2
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_LightmapsBakeMode: 1
|
|
||||||
m_TextureCompression: 1
|
|
||||||
m_FinalGather: 0
|
|
||||||
m_FinalGatherFiltering: 1
|
|
||||||
m_FinalGatherRayCount: 256
|
|
||||||
m_ReflectionCompression: 2
|
|
||||||
m_MixedBakeMode: 2
|
|
||||||
m_BakeBackend: 1
|
|
||||||
m_PVRSampling: 1
|
|
||||||
m_PVRDirectSampleCount: 32
|
|
||||||
m_PVRSampleCount: 512
|
|
||||||
m_PVRBounces: 2
|
|
||||||
m_PVREnvironmentSampleCount: 256
|
|
||||||
m_PVREnvironmentReferencePointCount: 2048
|
|
||||||
m_PVRFilteringMode: 1
|
|
||||||
m_PVRDenoiserTypeDirect: 1
|
|
||||||
m_PVRDenoiserTypeIndirect: 1
|
|
||||||
m_PVRDenoiserTypeAO: 1
|
|
||||||
m_PVRFilterTypeDirect: 0
|
|
||||||
m_PVRFilterTypeIndirect: 0
|
|
||||||
m_PVRFilterTypeAO: 0
|
|
||||||
m_PVREnvironmentMIS: 1
|
|
||||||
m_PVRCulling: 1
|
|
||||||
m_PVRFilteringGaussRadiusDirect: 1
|
|
||||||
m_PVRFilteringGaussRadiusIndirect: 5
|
|
||||||
m_PVRFilteringGaussRadiusAO: 2
|
|
||||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
|
||||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
|
||||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
|
||||||
m_ExportTrainingData: 0
|
|
||||||
m_TrainingDataDestination: TrainingData
|
|
||||||
m_LightProbeSampleCountMultiplier: 4
|
|
||||||
m_LightingDataAsset: {fileID: 0}
|
|
||||||
m_LightingSettings: {fileID: 0}
|
|
||||||
--- !u!196 &4
|
|
||||||
NavMeshSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_BuildSettings:
|
|
||||||
serializedVersion: 3
|
|
||||||
agentTypeID: 0
|
|
||||||
agentRadius: 0.5
|
|
||||||
agentHeight: 2
|
|
||||||
agentSlope: 45
|
|
||||||
agentClimb: 0.4
|
|
||||||
ledgeDropHeight: 0
|
|
||||||
maxJumpAcrossDistance: 0
|
|
||||||
minRegionArea: 2
|
|
||||||
manualCellSize: 0
|
|
||||||
cellSize: 0.16666667
|
|
||||||
manualTileSize: 0
|
|
||||||
tileSize: 256
|
|
||||||
buildHeightMesh: 0
|
|
||||||
maxJobWorkers: 0
|
|
||||||
preserveTilesOutsideBounds: 0
|
|
||||||
debug:
|
|
||||||
m_Flags: 0
|
|
||||||
m_NavMeshData: {fileID: 0}
|
|
||||||
--- !u!1001 &1120089
|
|
||||||
PrefabInstance:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Modification:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TransformParent: {fileID: 0}
|
|
||||||
m_Modifications:
|
|
||||||
- target: {fileID: 2119775930974504096, guid: c708a3b79cd542b42bbfedb17e213bc1,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: -9.593549
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2119775930974504096, guid: c708a3b79cd542b42bbfedb17e213bc1,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 0.94
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2119775930974504096, guid: c708a3b79cd542b42bbfedb17e213bc1,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.z
|
|
||||||
value: -13.681004
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2119775930974504096, guid: c708a3b79cd542b42bbfedb17e213bc1,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2119775930974504096, guid: c708a3b79cd542b42bbfedb17e213bc1,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2119775930974504096, guid: c708a3b79cd542b42bbfedb17e213bc1,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2119775930974504096, guid: c708a3b79cd542b42bbfedb17e213bc1,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2119775930974504096, guid: c708a3b79cd542b42bbfedb17e213bc1,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2119775930974504096, guid: c708a3b79cd542b42bbfedb17e213bc1,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2119775930974504096, guid: c708a3b79cd542b42bbfedb17e213bc1,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 8047161636021232021, guid: c708a3b79cd542b42bbfedb17e213bc1,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_Name
|
|
||||||
value: NestedParentArmature_Unpack
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
m_RemovedComponents: []
|
|
||||||
m_RemovedGameObjects: []
|
|
||||||
m_AddedGameObjects: []
|
|
||||||
m_AddedComponents: []
|
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: c708a3b79cd542b42bbfedb17e213bc1, type: 3}
|
|
||||||
--- !u!43 &484291270
|
|
||||||
Mesh:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: pb_Mesh-100394
|
|
||||||
serializedVersion: 11
|
|
||||||
m_SubMeshes:
|
|
||||||
- serializedVersion: 2
|
|
||||||
firstByte: 0
|
|
||||||
indexCount: 24
|
|
||||||
topology: 0
|
|
||||||
baseVertex: 0
|
|
||||||
firstVertex: 0
|
|
||||||
vertexCount: 16
|
|
||||||
localAABB:
|
|
||||||
m_Center: {x: -34.92671, y: 0.0001, z: 45.044914}
|
|
||||||
m_Extent: {x: 34.92671, y: 0, z: 45.044914}
|
|
||||||
m_Shapes:
|
|
||||||
vertices: []
|
|
||||||
shapes: []
|
|
||||||
channels: []
|
|
||||||
fullWeights: []
|
|
||||||
m_BindPose: []
|
|
||||||
m_BoneNameHashes:
|
|
||||||
m_RootBoneNameHash: 0
|
|
||||||
m_BonesAABB: []
|
|
||||||
m_VariableBoneCountWeights:
|
|
||||||
m_Data:
|
|
||||||
m_MeshCompression: 0
|
|
||||||
m_IsReadable: 1
|
|
||||||
m_KeepVertices: 1
|
|
||||||
m_KeepIndices: 1
|
|
||||||
m_IndexFormat: 0
|
|
||||||
m_IndexBuffer: 000001000200010003000200040005000600050007000600080009000a0009000b000a000c000d000e000d000f000e00
|
|
||||||
m_VertexData:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_VertexCount: 16
|
|
||||||
m_Channels:
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 3
|
|
||||||
- stream: 0
|
|
||||||
offset: 12
|
|
||||||
format: 0
|
|
||||||
dimension: 3
|
|
||||||
- stream: 0
|
|
||||||
offset: 24
|
|
||||||
format: 0
|
|
||||||
dimension: 4
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 40
|
|
||||||
format: 0
|
|
||||||
dimension: 2
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
m_DataSize: 768
|
|
||||||
_typelessdata: f3b48bc217b7d13800000000000000000000803f000000000000803f0000000000000000000080bff3b48bc200000000f3b48bc217b7d138fe2d3442000000000000803f000000000000803f0000000000000000000080bff3b48bc2fe2d3442f3b40bc217b7d13800000000000000000000803f000000000000803f0000000000000000000080bff3b40bc200000000f3b40bc217b7d138fe2d3442000000000000803f000000000000803f0000000000000000000080bff3b40bc2fe2d3442f3b48bc217b7d138fe2d3442000000000000803f000000000000803f0000000000000000000080bff3b48bc2fe2d3442f3b48bc217b7d138fe2db442000000000000803f000000000000803f0000000000000000000080bff3b48bc2fe2db442f3b40bc217b7d138fe2d3442000000000000803f000000000000803f0000000000000000000080bff3b40bc2fe2d3442f3b40bc217b7d138fe2db442000000000000803f000000000000803f0000000000000000000080bff3b40bc2fe2db442f3b40bc217b7d13800000000000000000000803f000000000000803f0000000000000000000080bff3b40bc200000000f3b40bc217b7d138fe2d3442000000000000803f000000000000803f0000000000000000000080bff3b40bc2fe2d34420000000017b7d13800000000000000000000803f000000000000803f0000000000000000000080bf00000000000000000000000017b7d138fe2d3442000000000000803f000000000000803f0000000000000000000080bf00000000fe2d3442f3b40bc217b7d138fe2d3442000000000000803f000000000000803f0000000000000000000080bff3b40bc2fe2d3442f3b40bc217b7d138fe2db442000000000000803f000000000000803f0000000000000000000080bff3b40bc2fe2db4420000000017b7d138fe2d3442000000000000803f000000000000803f0000000000000000000080bf00000000fe2d34420000000017b7d138fe2db442000000000000803f000000000000803f0000000000000000000080bf00000000fe2db442
|
|
||||||
m_CompressedMesh:
|
|
||||||
m_Vertices:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_UV:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Normals:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Tangents:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Weights:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_NormalSigns:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_TangentSigns:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_FloatColors:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_BoneIndices:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Triangles:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_UVInfo: 0
|
|
||||||
m_LocalAABB:
|
|
||||||
m_Center: {x: -34.92671, y: 0.0001, z: 45.044914}
|
|
||||||
m_Extent: {x: 34.92671, y: 0, z: 45.044914}
|
|
||||||
m_MeshUsageFlags: 0
|
|
||||||
m_CookingOptions: 30
|
|
||||||
m_BakedConvexCollisionMesh:
|
|
||||||
m_BakedTriangleCollisionMesh:
|
|
||||||
m_MeshMetrics[0]: 1
|
|
||||||
m_MeshMetrics[1]: 1
|
|
||||||
m_MeshOptimizationFlags: 1
|
|
||||||
m_StreamData:
|
|
||||||
serializedVersion: 2
|
|
||||||
offset: 0
|
|
||||||
size: 0
|
|
||||||
path:
|
|
||||||
--- !u!1 &567431773
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 567431775}
|
|
||||||
- component: {fileID: 567431774}
|
|
||||||
- component: {fileID: 567431776}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Directional Light
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!108 &567431774
|
|
||||||
Light:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 567431773}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 10
|
|
||||||
m_Type: 1
|
|
||||||
m_Shape: 0
|
|
||||||
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
|
||||||
m_Intensity: 1
|
|
||||||
m_Range: 10
|
|
||||||
m_SpotAngle: 30
|
|
||||||
m_InnerSpotAngle: 21.80208
|
|
||||||
m_CookieSize: 10
|
|
||||||
m_Shadows:
|
|
||||||
m_Type: 2
|
|
||||||
m_Resolution: -1
|
|
||||||
m_CustomResolution: -1
|
|
||||||
m_Strength: 1
|
|
||||||
m_Bias: 0.05
|
|
||||||
m_NormalBias: 0.4
|
|
||||||
m_NearPlane: 0.2
|
|
||||||
m_CullingMatrixOverride:
|
|
||||||
e00: 1
|
|
||||||
e01: 0
|
|
||||||
e02: 0
|
|
||||||
e03: 0
|
|
||||||
e10: 0
|
|
||||||
e11: 1
|
|
||||||
e12: 0
|
|
||||||
e13: 0
|
|
||||||
e20: 0
|
|
||||||
e21: 0
|
|
||||||
e22: 1
|
|
||||||
e23: 0
|
|
||||||
e30: 0
|
|
||||||
e31: 0
|
|
||||||
e32: 0
|
|
||||||
e33: 1
|
|
||||||
m_UseCullingMatrixOverride: 0
|
|
||||||
m_Cookie: {fileID: 0}
|
|
||||||
m_DrawHalo: 0
|
|
||||||
m_Flare: {fileID: 0}
|
|
||||||
m_RenderMode: 0
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_Lightmapping: 4
|
|
||||||
m_LightShadowCasterMode: 0
|
|
||||||
m_AreaSize: {x: 1, y: 1}
|
|
||||||
m_BounceIntensity: 1
|
|
||||||
m_ColorTemperature: 6570
|
|
||||||
m_UseColorTemperature: 0
|
|
||||||
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_UseBoundingSphereOverride: 0
|
|
||||||
m_UseViewFrustumForShadowCasterCull: 1
|
|
||||||
m_ShadowRadius: 0
|
|
||||||
m_ShadowAngle: 0
|
|
||||||
--- !u!4 &567431775
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 567431773}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0.40126428, y: -0.55801183, z: 0.20394023, w: 0.69715005}
|
|
||||||
m_LocalPosition: {x: -1, y: 36.4, z: -34.4}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_LocalEulerAnglesHint: {x: 51.914, y: -84.864, z: -15.367}
|
|
||||||
--- !u!114 &567431776
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 567431773}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Version: 3
|
|
||||||
m_UsePipelineSettings: 1
|
|
||||||
m_AdditionalLightsShadowResolutionTier: 2
|
|
||||||
m_LightLayerMask: 1
|
|
||||||
m_RenderingLayers: 1
|
|
||||||
m_CustomShadowLayers: 0
|
|
||||||
m_ShadowLayerMask: 1
|
|
||||||
m_ShadowRenderingLayers: 1
|
|
||||||
m_LightCookieSize: {x: 1, y: 1}
|
|
||||||
m_LightCookieOffset: {x: 0, y: 0}
|
|
||||||
m_SoftShadowQuality: 0
|
|
||||||
--- !u!1 &1656492126
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 1656492132}
|
|
||||||
- component: {fileID: 1656492131}
|
|
||||||
- component: {fileID: 1656492130}
|
|
||||||
- component: {fileID: 1656492129}
|
|
||||||
- component: {fileID: 1656492128}
|
|
||||||
- component: {fileID: 1656492127}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Plane
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!64 &1656492127
|
|
||||||
MeshCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1656492126}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IncludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_ExcludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_LayerOverridePriority: 0
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_ProvidesContacts: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 5
|
|
||||||
m_Convex: 0
|
|
||||||
m_CookingOptions: 30
|
|
||||||
m_Mesh: {fileID: 484291270}
|
|
||||||
--- !u!33 &1656492128
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 10
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1656492126}
|
|
||||||
m_Mesh: {fileID: 484291270}
|
|
||||||
--- !u!23 &1656492129
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1656492126}
|
|
||||||
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: 31321ba15b8f8eb4c954353edc038b1d, 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: 1
|
|
||||||
m_SelectedEditorRenderState: 2
|
|
||||||
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!114 &1656492130
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1656492126}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 1ca002da428252441b92f28d83c8a65f, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Shape:
|
|
||||||
rid: 3711152131853254657
|
|
||||||
m_Size: {x: -69.85342, y: 0, z: 90.08983}
|
|
||||||
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_PivotLocation: 1
|
|
||||||
m_PivotPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_UnmodifiedMeshVersion: 1111
|
|
||||||
m_ShapeBox:
|
|
||||||
m_Center: {x: -34.92671, y: 0.0001, z: 45.044914}
|
|
||||||
m_Extent: {x: 0.5, y: 0, z: 0.5}
|
|
||||||
references:
|
|
||||||
version: 2
|
|
||||||
RefIds:
|
|
||||||
- rid: 3711152131853254657
|
|
||||||
type: {class: Plane, ns: UnityEngine.ProBuilder.Shapes, asm: Unity.ProBuilder}
|
|
||||||
data:
|
|
||||||
m_HeightSegments: 1
|
|
||||||
m_WidthSegments: 1
|
|
||||||
--- !u!114 &1656492131
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1656492126}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 8233d90336aea43098adf6dbabd606a2, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_MeshFormatVersion: 2
|
|
||||||
m_Faces:
|
|
||||||
- m_Indexes: 000000000100000002000000010000000300000002000000
|
|
||||||
m_SmoothingGroup: 0
|
|
||||||
m_Uv:
|
|
||||||
m_UseWorldSpace: 0
|
|
||||||
m_FlipU: 0
|
|
||||||
m_FlipV: 0
|
|
||||||
m_SwapUV: 0
|
|
||||||
m_Fill: 1
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Rotation: 0
|
|
||||||
m_Anchor: 9
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_SubmeshIndex: 0
|
|
||||||
m_ManualUV: 0
|
|
||||||
elementGroup: -1
|
|
||||||
m_TextureGroup: -1
|
|
||||||
- m_Indexes: 040000000500000006000000050000000700000006000000
|
|
||||||
m_SmoothingGroup: 0
|
|
||||||
m_Uv:
|
|
||||||
m_UseWorldSpace: 0
|
|
||||||
m_FlipU: 0
|
|
||||||
m_FlipV: 0
|
|
||||||
m_SwapUV: 0
|
|
||||||
m_Fill: 1
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Rotation: 0
|
|
||||||
m_Anchor: 9
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_SubmeshIndex: 0
|
|
||||||
m_ManualUV: 0
|
|
||||||
elementGroup: -1
|
|
||||||
m_TextureGroup: -1
|
|
||||||
- m_Indexes: 08000000090000000a000000090000000b0000000a000000
|
|
||||||
m_SmoothingGroup: 0
|
|
||||||
m_Uv:
|
|
||||||
m_UseWorldSpace: 0
|
|
||||||
m_FlipU: 0
|
|
||||||
m_FlipV: 0
|
|
||||||
m_SwapUV: 0
|
|
||||||
m_Fill: 1
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Rotation: 0
|
|
||||||
m_Anchor: 9
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_SubmeshIndex: 0
|
|
||||||
m_ManualUV: 0
|
|
||||||
elementGroup: -1
|
|
||||||
m_TextureGroup: -1
|
|
||||||
- m_Indexes: 0c0000000d0000000e0000000d0000000f0000000e000000
|
|
||||||
m_SmoothingGroup: 0
|
|
||||||
m_Uv:
|
|
||||||
m_UseWorldSpace: 0
|
|
||||||
m_FlipU: 0
|
|
||||||
m_FlipV: 0
|
|
||||||
m_SwapUV: 0
|
|
||||||
m_Fill: 1
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Rotation: 0
|
|
||||||
m_Anchor: 9
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_SubmeshIndex: 0
|
|
||||||
m_ManualUV: 0
|
|
||||||
elementGroup: -1
|
|
||||||
m_TextureGroup: -1
|
|
||||||
m_SharedVertices:
|
|
||||||
- m_Vertices: 00000000
|
|
||||||
- m_Vertices: 0100000004000000
|
|
||||||
- m_Vertices: 0200000008000000
|
|
||||||
- m_Vertices: 0300000006000000090000000c000000
|
|
||||||
- m_Vertices: 05000000
|
|
||||||
- m_Vertices: 070000000d000000
|
|
||||||
- m_Vertices: 0a000000
|
|
||||||
- m_Vertices: 0b0000000e000000
|
|
||||||
- m_Vertices: 0f000000
|
|
||||||
m_SharedTextures: []
|
|
||||||
m_Positions:
|
|
||||||
- {x: -69.85342, y: 0.0001, z: 0}
|
|
||||||
- {x: -69.85342, y: 0.0001, z: 45.044914}
|
|
||||||
- {x: -34.92671, y: 0.0001, z: 0}
|
|
||||||
- {x: -34.92671, y: 0.0001, z: 45.044914}
|
|
||||||
- {x: -69.85342, y: 0.0001, z: 45.044914}
|
|
||||||
- {x: -69.85342, y: 0.0001, z: 90.08983}
|
|
||||||
- {x: -34.92671, y: 0.0001, z: 45.044914}
|
|
||||||
- {x: -34.92671, y: 0.0001, z: 90.08983}
|
|
||||||
- {x: -34.92671, y: 0.0001, z: 0}
|
|
||||||
- {x: -34.92671, y: 0.0001, z: 45.044914}
|
|
||||||
- {x: 0, y: 0.0001, z: 0}
|
|
||||||
- {x: 0, y: 0.0001, z: 45.044914}
|
|
||||||
- {x: -34.92671, y: 0.0001, z: 45.044914}
|
|
||||||
- {x: -34.92671, y: 0.0001, z: 90.08983}
|
|
||||||
- {x: 0, y: 0.0001, z: 45.044914}
|
|
||||||
- {x: 0, y: 0.0001, z: 90.08983}
|
|
||||||
m_Textures0:
|
|
||||||
- {x: -69.85342, y: 0}
|
|
||||||
- {x: -69.85342, y: 45.044914}
|
|
||||||
- {x: -34.92671, y: 0}
|
|
||||||
- {x: -34.92671, y: 45.044914}
|
|
||||||
- {x: -69.85342, y: 45.044914}
|
|
||||||
- {x: -69.85342, y: 90.08983}
|
|
||||||
- {x: -34.92671, y: 45.044914}
|
|
||||||
- {x: -34.92671, y: 90.08983}
|
|
||||||
- {x: -34.92671, y: 0}
|
|
||||||
- {x: -34.92671, y: 45.044914}
|
|
||||||
- {x: 0, y: 0}
|
|
||||||
- {x: 0, y: 45.044914}
|
|
||||||
- {x: -34.92671, y: 45.044914}
|
|
||||||
- {x: -34.92671, y: 90.08983}
|
|
||||||
- {x: 0, y: 45.044914}
|
|
||||||
- {x: 0, y: 90.08983}
|
|
||||||
m_Textures2: []
|
|
||||||
m_Textures3: []
|
|
||||||
m_Tangents:
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
- {x: 1, y: 0, z: 0, w: -1}
|
|
||||||
m_Colors: []
|
|
||||||
m_UnwrapParameters:
|
|
||||||
m_HardAngle: 88
|
|
||||||
m_PackMargin: 20
|
|
||||||
m_AngleError: 8
|
|
||||||
m_AreaError: 15
|
|
||||||
m_PreserveMeshAssetOnDestroy: 0
|
|
||||||
assetGuid:
|
|
||||||
m_Mesh: {fileID: 484291270}
|
|
||||||
m_VersionIndex: 1111
|
|
||||||
m_IsSelectable: 1
|
|
||||||
m_SelectedFaces:
|
|
||||||
m_SelectedEdges: []
|
|
||||||
m_SelectedVertices:
|
|
||||||
--- !u!4 &1656492132
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1656492126}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 27.7, y: 0, z: -55.1}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!1660057539 &9223372036854775807
|
|
||||||
SceneRoots:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_Roots:
|
|
||||||
- {fileID: 567431775}
|
|
||||||
- {fileID: 1656492132}
|
|
||||||
- {fileID: 1120089}
|
|
|
@ -4,6 +4,7 @@
|
||||||
* description: trigger to detect if the player did not land in an aerial faith landing trigger
|
* description: trigger to detect if the player did not land in an aerial faith landing trigger
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
using System;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -14,7 +15,17 @@ public class AerialFaithDeathTrigger : MonoBehaviour
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// the trigger that detects if the player has jumped out of the play area
|
/// the trigger that detects if the player has jumped out of the play area
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[SerializeField] private AerialFaithJumpTrigger linkedJumpTrigger;
|
[SerializeField] private AerialFaithLeapTrigger linkedLeapTrigger;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// check if linkedLeapTrigger is set
|
||||||
|
/// </summary>
|
||||||
|
/// <exception cref="NullReferenceException">consequential exception</exception>
|
||||||
|
private void Awake()
|
||||||
|
{
|
||||||
|
if (linkedLeapTrigger == null)
|
||||||
|
throw new NullReferenceException("AerialFaithLandingTrigger: linkedLeapTrigger is not set");
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// detect if player has entered the trigger
|
/// detect if player has entered the trigger
|
||||||
|
@ -22,8 +33,24 @@ public class AerialFaithDeathTrigger : MonoBehaviour
|
||||||
/// <param name="other">colliding game object</param>
|
/// <param name="other">colliding game object</param>
|
||||||
private void OnTriggerEnter(Collider other)
|
private void OnTriggerEnter(Collider other)
|
||||||
{
|
{
|
||||||
if (!other.CompareTag("Player") || !linkedJumpTrigger.isPlayerInAir) return;
|
// Debug.Log($"AerialFaithDeathTrigger: was hit by object with tag {other.tag}");
|
||||||
|
|
||||||
|
if (!other.CompareTag("Player") || !linkedLeapTrigger.isPlayerInAir) return;
|
||||||
|
|
||||||
|
// if (!other.CompareTag("Player"))
|
||||||
|
// {
|
||||||
|
// Debug.Log("AerialFaithDeathTrigger: player missed");
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// if (!linkedLeapTrigger.isPlayerInAir)
|
||||||
|
// {
|
||||||
|
// Debug.Log("AerialFaithDeathTrigger: player is in an invalid state");
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
|
|
||||||
Debug.Log("AerialFaithDeathTrigger: player missed, and will be baked");
|
Debug.Log("AerialFaithDeathTrigger: player missed, and will be baked");
|
||||||
|
linkedLeapTrigger.isPlayerInAir = false;
|
||||||
// TODO: kill player
|
// TODO: kill player
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -4,6 +4,7 @@
|
||||||
* description: trigger to detect if the player landed in a specific area
|
* description: trigger to detect if the player landed in a specific area
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
using System;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -14,7 +15,17 @@ public class AerialFaithLandingTrigger : MonoBehaviour
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// the trigger that detects if the player has jumped out of the play area
|
/// the trigger that detects if the player has jumped out of the play area
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[SerializeField] private AerialFaithJumpTrigger linkedJumpTrigger;
|
[SerializeField] private AerialFaithLeapTrigger linkedLeapTrigger;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// check if linkedLeapTrigger is set
|
||||||
|
/// </summary>
|
||||||
|
/// <exception cref="NullReferenceException">consequential exception</exception>
|
||||||
|
private void Awake()
|
||||||
|
{
|
||||||
|
if (linkedLeapTrigger == null)
|
||||||
|
throw new NullReferenceException("AerialFaithLandingTrigger: linkedLeapTrigger is not set");
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// detect if player has entered the trigger
|
/// detect if player has entered the trigger
|
||||||
|
@ -22,8 +33,9 @@ public class AerialFaithLandingTrigger : MonoBehaviour
|
||||||
/// <param name="other">colliding game object</param>
|
/// <param name="other">colliding game object</param>
|
||||||
private void OnTriggerEnter(Collider other)
|
private void OnTriggerEnter(Collider other)
|
||||||
{
|
{
|
||||||
if (!other.CompareTag("Player") || !linkedJumpTrigger.isPlayerInAir) return;
|
// Debug.Log($"AerialFaithLandingTrigger: was hit by object with tag {other.tag}");
|
||||||
|
if (!other.CompareTag("Player") || !linkedLeapTrigger.isPlayerInAir) return;
|
||||||
Debug.Log("AerialFaithLandingTrigger: player landed");
|
Debug.Log("AerialFaithLandingTrigger: player landed");
|
||||||
linkedJumpTrigger.isPlayerInAir = false;
|
linkedLeapTrigger.isPlayerInAir = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -9,7 +9,7 @@
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// detection behaviour class
|
/// detection behaviour class
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class AerialFaithJumpTrigger : MonoBehaviour
|
public class AerialFaithLeapTrigger : MonoBehaviour
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// bool to check if player is airborne
|
/// bool to check if player is airborne
|
||||||
|
@ -22,7 +22,8 @@ public class AerialFaithJumpTrigger : MonoBehaviour
|
||||||
/// <param name="other">colliding game object</param>
|
/// <param name="other">colliding game object</param>
|
||||||
private void OnTriggerExit(Collider other)
|
private void OnTriggerExit(Collider other)
|
||||||
{
|
{
|
||||||
if (other.CompareTag("Player")) isPlayerInAir = true;
|
if (!other.CompareTag("Player")) return;
|
||||||
Debug.Log("AerialFaithJumpTrigger: player is airborne");
|
isPlayerInAir = true;
|
||||||
|
Debug.Log("AerialFaithLeapTrigger: player is airborne");
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -64,7 +64,7 @@
|
||||||
{
|
{
|
||||||
"type": "System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
|
"type": "System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
|
||||||
"key": "ShapeComponent.SettingsEnabled",
|
"key": "ShapeComponent.SettingsEnabled",
|
||||||
"value": "{\"m_Value\":false}"
|
"value": "{\"m_Value\":true}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
|
"type": "System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
|
||||||
|
@ -99,7 +99,7 @@
|
||||||
{
|
{
|
||||||
"type": "System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
|
"type": "System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
|
||||||
"key": "ShapeBuilder.ActiveShapeIndex",
|
"key": "ShapeBuilder.ActiveShapeIndex",
|
||||||
"value": "{\"m_Value\":1}"
|
"value": "{\"m_Value\":6}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
|
"type": "System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
{
|
{
|
||||||
"type": "UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
|
"type": "UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
|
||||||
"key": "ShapeBuilder.LastSize",
|
"key": "ShapeBuilder.LastSize",
|
||||||
"value": "{\"m_Value\":{\"x\":-69.8534164428711,\"y\":0.0,\"z\":90.08982849121094}}"
|
"value": "{\"m_Value\":{\"x\":-1.2044639587402344,\"y\":1.0023797750473023,\"z\":1.2235469818115235}}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "UnityEngine.Quaternion, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
|
"type": "UnityEngine.Quaternion, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
|
||||||
|
@ -155,6 +155,16 @@
|
||||||
"type": "UnityEngine.ProBuilder.Shapes.Shape, Unity.ProBuilder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
|
"type": "UnityEngine.ProBuilder.Shapes.Shape, Unity.ProBuilder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
|
||||||
"key": "ShapeBuilder.Plane",
|
"key": "ShapeBuilder.Plane",
|
||||||
"value": "{}"
|
"value": "{}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "UnityEngine.ProBuilder.Shapes.Shape, Unity.ProBuilder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
|
||||||
|
"key": "ShapeBuilder.Stairs",
|
||||||
|
"value": "{}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "UnityEngine.ProBuilder.Shapes.Shape, Unity.ProBuilder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
|
||||||
|
"key": "ShapeBuilder.Cube",
|
||||||
|
"value": "{}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue