Fixed weird collision angles.
This commit is contained in:
commit
18e0b1bc7b
@ -7,10 +7,10 @@ Material:
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Neon_green 1
|
||||
m_Name: Neon_blue
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_ShaderKeywords: _EMISSION
|
||||
m_LightmapFlags: 2
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
@ -36,7 +36,7 @@ Material:
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Texture: {fileID: 2800000, guid: 4d42022c70fc0a64a92c678cbc70449f, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
@ -74,6 +74,6 @@ Material:
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _Color: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 7.4739723, b: 8, a: 1}
|
||||
m_BuildTextureStacks: []
|
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 70da1ebdb398c4b4c94edb3a5556152a
|
||||
guid: 2c7a0f6d37285264e8dd8c8e08d5dead
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
@ -64,7 +64,7 @@ MeshRenderer:
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: 70da1ebdb398c4b4c94edb3a5556152a, type: 2}
|
||||
- {fileID: 2100000, guid: 2c7a0f6d37285264e8dd8c8e08d5dead, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
@ -128,3 +128,4 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
type: 0
|
||||
speed: 5
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -123,6 +123,68 @@ NavMeshSettings:
|
||||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1001 &39090894
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 327689121}
|
||||
m_Modifications:
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 15
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -103.00523
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -27.61964
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: -40.016167
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: -0.2399425
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0.9707871
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 207.766
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Platform_Blue (7)
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
--- !u!4 &39090895 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
m_PrefabInstance: {fileID: 39090894}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &85431963
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -282,6 +344,68 @@ MeshFilter:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 124415399}
|
||||
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!1001 &258401668
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 327689121}
|
||||
m_Modifications:
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 13
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -81.28458
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -30.15599
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: -40.016167
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 0.37742457
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0.9260404
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 135.652
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Platform_Blue (5)
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
--- !u!4 &258401669 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
m_PrefabInstance: {fileID: 258401668}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &327689120
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -322,9 +446,143 @@ Transform:
|
||||
- {fileID: 124415400}
|
||||
- {fileID: 120725599}
|
||||
- {fileID: 1318055903}
|
||||
- {fileID: 993189263}
|
||||
- {fileID: 258401669}
|
||||
- {fileID: 1620023971}
|
||||
- {fileID: 39090895}
|
||||
- {fileID: 1575825840}
|
||||
- {fileID: 740849107}
|
||||
- {fileID: 1932669296}
|
||||
- {fileID: 1355937531}
|
||||
- {fileID: 358391054}
|
||||
- {fileID: 574603077}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1001 &358391053
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 327689121}
|
||||
m_Modifications:
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 20
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -101.84012
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -59.92656
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: -40.016167
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: -0.97972804
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0.20033212
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 336.887
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Platform_Blue (12)
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
--- !u!4 &358391054 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
m_PrefabInstance: {fileID: 358391053}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &574603076
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 327689121}
|
||||
m_Modifications:
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 21
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -95.799995
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -26.100002
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: -40.6
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: -0.0072860215
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0.99997354
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 180.835
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Platform_Blue (13)
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
--- !u!4 &574603077 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
m_PrefabInstance: {fileID: 574603076}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &613611969
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -332,13 +590,25 @@ PrefabInstance:
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 327689121}
|
||||
m_Modifications:
|
||||
- target: {fileID: 3339862426328537977, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3}
|
||||
propertyPath: type
|
||||
value: 4
|
||||
- target: {fileID: 3990700206222760695, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3}
|
||||
propertyPath: ShapeModule.m_Scale.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3339862426328537977, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3}
|
||||
propertyPath: speed
|
||||
value: 500
|
||||
- target: {fileID: 3990700206222760695, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3}
|
||||
propertyPath: ShapeModule.m_Position.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3990700206222760695, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3}
|
||||
propertyPath: ShapeModule.m_Position.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3990700206222760695, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3}
|
||||
propertyPath: ShapeModule.m_Rotation.x
|
||||
value: -90
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3990700206222760695, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3}
|
||||
propertyPath: ShapeModule.m_Rotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
@ -699,6 +969,68 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
--- !u!1001 &740849106
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 327689121}
|
||||
m_Modifications:
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 17
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -111.4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -40.2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: -40.016167
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: -0.689335
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0.7244427
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 267.155
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Platform_Blue (9)
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
--- !u!4 &740849107 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
m_PrefabInstance: {fileID: 740849106}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &824760724
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -1000,6 +1332,68 @@ Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
m_PrefabInstance: {fileID: 824760724}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &1355937530
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 327689121}
|
||||
m_Modifications:
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 19
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -107.9384
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -55.058186
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: -40.016167
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: -0.87719846
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0.48012805
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 302.613
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Platform_Blue (11)
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
--- !u!4 &1355937531 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
m_PrefabInstance: {fileID: 1355937530}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!4 &1429068746 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 32d2ba4971e4c7e4ab98a1f9c37dcffc, type: 3}
|
||||
@ -1010,6 +1404,130 @@ Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
m_PrefabInstance: {fileID: 85431963}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &1575825839
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 327689121}
|
||||
m_Modifications:
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 16
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -108.94553
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -32.792767
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: -40.016167
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: -0.44526157
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0.8954006
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 232.88
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Platform_Blue (8)
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
--- !u!4 &1575825840 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
m_PrefabInstance: {fileID: 1575825839}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &1620023970
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 327689121}
|
||||
m_Modifications:
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 14
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -88.324066
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -26.78897
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: -40.016167
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 0.0877961
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0.99613845
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 169.926
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Platform_Blue (6)
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
--- !u!4 &1620023971 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
m_PrefabInstance: {fileID: 1620023970}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &1802677907
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -1059,6 +1577,68 @@ Transform:
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1001 &1932669295
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 327689121}
|
||||
m_Modifications:
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 18
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -110.73353
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -47.69364
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: -40.016167
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: -0.7518321
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0.65935457
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 277.499
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8768991388683709947, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Platform_Blue (10)
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
--- !u!4 &1932669296 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 97d4c453fb5affa448968cb5ce9ca2f4, type: 3}
|
||||
m_PrefabInstance: {fileID: 1932669295}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!4 &1952862063 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 8768991388683709944, guid: 99c4e582c7358f346ab00dae4ae956f9, type: 3}
|
||||
@ -1097,7 +1677,7 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3244356567786994345, guid: ec622cf6f0988bc42a99ba84304c15a9, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3244356567786994345, guid: ec622cf6f0988bc42a99ba84304c15a9, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
|
@ -8,9 +8,9 @@ public class UiController : MonoBehaviour
|
||||
public GameObject player = null;
|
||||
private Vector3 startPosition;
|
||||
private Vector3 playerPosition;
|
||||
|
||||
public TextMeshProUGUI uiDistance;
|
||||
public float distance = 0.0f;
|
||||
private float oldDistance = 0.0f;
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
@ -23,6 +23,10 @@ public class UiController : MonoBehaviour
|
||||
{
|
||||
playerPosition = this.player.transform.position;
|
||||
distance = Vector3.Distance(this.startPosition, this.playerPosition);
|
||||
uiDistance.text = "Score : " + distance.ToString("0");
|
||||
if (oldDistance < distance)
|
||||
{
|
||||
uiDistance.text = "Score : " + distance.ToString("0");
|
||||
oldDistance = distance;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,9 +6,6 @@ EditorUserSettings:
|
||||
serializedVersion: 4
|
||||
m_ConfigSettings:
|
||||
RecentlyUsedSceneGuid-0:
|
||||
value: 5a5757560101590a5d0c0e24427b5d44434e4c7a7b7a23677f2b4565b7b5353a
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-1:
|
||||
value: 5b53500307070b0b0b0f5a2648735a4412154f737d2b2536782f1e32e0b86c3a
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-0:
|
||||
|
Loading…
Reference in New Issue
Block a user