Added extra sliders for audio (not audio logic not yet implemented) and got elevator outer buttons firing.

This commit is contained in:
mxssw 2025-11-29 00:04:17 +02:00
parent 60b9f21a61
commit 187c700f9c
47 changed files with 2475 additions and 104 deletions

View File

@ -166,7 +166,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: 4bc0f8cdd4cdf044eb3cb4c216505a74, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -1291,7 +1291,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: 4bc0f8cdd4cdf044eb3cb4c216505a74, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -1562,7 +1562,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: 4bc0f8cdd4cdf044eb3cb4c216505a74, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -1645,7 +1645,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: 4bc0f8cdd4cdf044eb3cb4c216505a74, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -1774,7 +1774,7 @@ Transform:
- {fileID: 5978361029941614297} - {fileID: 5978361029941614297}
- {fileID: 7913347821733341198} - {fileID: 7913347821733341198}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: -1 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &3500288285648113296 --- !u!65 &3500288285648113296
BoxCollider: BoxCollider:
@ -1963,7 +1963,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: -6478536213147159724, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: b33054b96ed18074689b31c32a5df1e5, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -2212,7 +2212,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: 4bc0f8cdd4cdf044eb3cb4c216505a74, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -2566,7 +2566,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: 4bc0f8cdd4cdf044eb3cb4c216505a74, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -2860,7 +2860,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: 4bc0f8cdd4cdf044eb3cb4c216505a74, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -3439,7 +3439,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: 4bc0f8cdd4cdf044eb3cb4c216505a74, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -4138,7 +4138,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: 4bc0f8cdd4cdf044eb3cb4c216505a74, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -4641,7 +4641,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: 4bc0f8cdd4cdf044eb3cb4c216505a74, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -5194,7 +5194,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: 4bc0f8cdd4cdf044eb3cb4c216505a74, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -5312,7 +5312,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: 4bc0f8cdd4cdf044eb3cb4c216505a74, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -5535,11 +5535,21 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -6144640057464946447, guid: 8aa66426e7d921a4db0b8de859736f3b,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: e8dbfd549222f4547b36a1d828e6cf01, type: 2}
- target: {fileID: 919132149155446097, guid: 8aa66426e7d921a4db0b8de859736f3b, - target: {fileID: 919132149155446097, guid: 8aa66426e7d921a4db0b8de859736f3b,
type: 3} type: 3}
propertyPath: m_Name propertyPath: m_Name
value: 1 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8699224783455019111, guid: 8aa66426e7d921a4db0b8de859736f3b,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: e8dbfd549222f4547b36a1d828e6cf01, type: 2}
m_RemovedComponents: [] m_RemovedComponents: []
m_RemovedGameObjects: [] m_RemovedGameObjects: []
m_AddedGameObjects: [] m_AddedGameObjects: []

View File

@ -0,0 +1,44 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-2369381272151528486
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 7
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: elevator button 1 Variant
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_Parent: {fileID: 2100000, guid: d2cb0067ec2dac14b830006b4537c6d7, type: 2}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs: []
m_Ints: []
m_Floats: []
m_Colors: []
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e8dbfd549222f4547b36a1d828e6cf01
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,44 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-5297191426521388487
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 7
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: elevator fbx Variant 1
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_Parent: {fileID: 2100000, guid: d2cb0067ec2dac14b830006b4537c6d7, type: 2}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs: []
m_Ints: []
m_Floats: []
m_Colors: []
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: df2499e0d0b1e5f4eb0aa3b7de2fb414
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,44 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: elevator fbx Variant 2
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_Parent: {fileID: 2100000, guid: d2cb0067ec2dac14b830006b4537c6d7, type: 2}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs: []
m_Ints: []
m_Floats: []
m_Colors: []
m_BuildTextureStacks: []
--- !u!114 &7958070576693489127
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 7

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4bc0f8cdd4cdf044eb3cb4c216505a74
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,45 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: elevator fbx Variant 3
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_Parent: {fileID: 2100000, guid: 41f12eac51f3a45459e319b9f41ecb1a, type: 2}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs: []
m_Ints: []
m_Floats: []
m_Colors:
- _EmissionColor: {r: 55.79267, g: 9.290461, b: 0, a: 1}
m_BuildTextureStacks: []
--- !u!114 &5211763387978159537
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 7

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b33054b96ed18074689b31c32a5df1e5
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,46 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: elevator fbx Variant
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_Parent: {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e,
type: 3}
m_ModifiedSerializedProperties: 2
m_ValidKeywords:
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs: []
m_Ints: []
m_Floats: []
m_Colors:
- _EmissionColor: {r: 8, g: 8, b: 8, a: 0}
m_BuildTextureStacks: []
--- !u!114 &5894409217264877673
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 7

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d2cb0067ec2dac14b830006b4537c6d7
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -294,10 +294,11 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1155267587565011288} m_GameObject: {fileID: 1155267587565011288}
m_LocalRotation: {x: 0.7071665, y: 0.0025170825, z: -0.7070381, w: 0.002517433} m_LocalRotation: {x: 0.7071665, y: 0.0025170825, z: -0.7070381, w: 0.002517433}
m_LocalPosition: {x: -0.9952316, y: 0.9510517, z: -0.91913366} m_LocalPosition: {x: -0.99531555, y: 0.9510517, z: -0.91913366}
m_LocalScale: {x: 1.2851703, y: 1.2851704, z: 1.2851702} m_LocalScale: {x: 1.2851703, y: 1.2851704, z: 2}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children:
- {fileID: 40941494441971447}
m_Father: {fileID: 7725059319347024289} m_Father: {fileID: 7725059319347024289}
m_RootOrder: -1 m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -362,7 +363,9 @@ GameObject:
- component: {fileID: 3827770554830844204} - component: {fileID: 3827770554830844204}
- component: {fileID: 3329362411380229953} - component: {fileID: 3329362411380229953}
- component: {fileID: 165152649878582814} - component: {fileID: 165152649878582814}
- component: {fileID: 9191466332692247096} - component: {fileID: 7180915592625416012}
- component: {fileID: 5035439175284444213}
- component: {fileID: 5880420167976964992}
m_Layer: 0 m_Layer: 0
m_Name: Cylinder.002 m_Name: Cylinder.002
m_TagString: Untagged m_TagString: Untagged
@ -377,12 +380,13 @@ Transform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1343454156800876451} m_GameObject: {fileID: 1343454156800876451}
m_LocalRotation: {x: 0.0025174995, y: -0.7071667, z: 0.0025179575, w: 0.7070379} m_LocalRotation: {x: -0.0000016486738, y: -0.00000008940697, z: 4.656613e-10, w: 1}
m_LocalPosition: {x: -0.99707794, y: 0.9908395, z: -0.9191284} m_LocalPosition: {x: 0, y: 0.00001, z: 0.00189}
m_LocalScale: {x: 1.040988, y: 1.0409881, z: 0.12851705} m_LocalScale: {x: 0.81, y: 0.81000036, z: 0.17931005}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children:
m_Father: {fileID: 7725059319347024289} - {fileID: 3003821954805478466}
m_Father: {fileID: 2644315295173918728}
m_RootOrder: -1 m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &3329362411380229953 --- !u!33 &3329362411380229953
@ -435,7 +439,7 @@ MeshRenderer:
m_SortingLayer: 0 m_SortingLayer: 0
m_SortingOrder: 0 m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0} m_AdditionalVertexStreams: {fileID: 0}
--- !u!65 &9191466332692247096 --- !u!65 &7180915592625416012
BoxCollider: BoxCollider:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
@ -454,8 +458,56 @@ BoxCollider:
m_ProvidesContacts: 0 m_ProvidesContacts: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 3 serializedVersion: 3
m_Size: {x: 0.02, y: 0.02, z: 0.013139977} m_Size: {x: 0.02, y: 0.02, z: 0.01}
m_Center: {x: -0.0000004768352, y: 9.974017e-14, z: -0.0034300117} m_Center: {x: 0.00000047683454, y: -3.9396494e-13, z: 0.0005663533}
--- !u!54 &5035439175284444213
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1343454156800876451}
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: 0
m_Interpolate: 0
m_Constraints: 124
m_CollisionDetection: 0
--- !u!114 &5880420167976964992
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1343454156800876451}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 33e7127f1ef74754f93e1b2f236a7426, type: 3}
m_Name:
m_EditorClassIdentifier:
buttonDirectionRoot: {fileID: 1308047778134488800}
minX: 0
maxX: 0
minY: 0
maxY: 0
minZ: -0.005
maxZ: 0
springForce: 3000
damping: 8
--- !u!1 &1655508674808552005 --- !u!1 &1655508674808552005
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -481,12 +533,12 @@ Transform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1655508674808552005} m_GameObject: {fileID: 1655508674808552005}
m_LocalRotation: {x: 0.70716655, y: 0.0025178997, z: -0.70703804, w: 0.0025182504} m_LocalRotation: {x: 0.000000047613867, y: 9.094947e-13, z: -1.16411054e-10, w: 1}
m_LocalPosition: {x: -0.99655914, y: 0.95216036, z: -0.91911745} m_LocalPosition: {x: -0.000015805403, y: -0.0010740468, z: -0.0018429983}
m_LocalScale: {x: 0.64258516, y: 0.89961934, z: 0.12851703} m_LocalScale: {x: 0.61728394, y: 0.86419785, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 7725059319347024289} m_Father: {fileID: 40941494441971447}
m_RootOrder: -1 m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &7571450672470302808 --- !u!33 &7571450672470302808
@ -517,7 +569,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: d2cb0067ec2dac14b830006b4537c6d7, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -564,12 +616,12 @@ Transform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1799989022594837985} m_GameObject: {fileID: 1799989022594837985}
m_LocalRotation: {x: 0.0025174995, y: -0.7071667, z: 0.0025179575, w: 0.7070379} m_LocalRotation: {x: -0, y: -0, z: -2.0816682e-17, w: 1}
m_LocalPosition: {x: -0.9968262, y: 0.9897232, z: -0.9191284} m_LocalPosition: {x: 0, y: -0.0010738493, z: -0.0018971369}
m_LocalScale: {x: 0.64258516, y: 0.8996193, z: 0.12851705} m_LocalScale: {x: 0.61728394, y: 0.86419743, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 7725059319347024289} m_Father: {fileID: 3827770554830844204}
m_RootOrder: -1 m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &8163412218932540989 --- !u!33 &8163412218932540989
@ -600,7 +652,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 4164109902122252740, guid: e2815ed7e4ba71345aba4539e8e4b07e, type: 3} - {fileID: 2100000, guid: df2499e0d0b1e5f4eb0aa3b7de2fb414, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -651,12 +703,10 @@ Transform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 2644315295173918728} - {fileID: 2644315295173918728}
- {fileID: 3827770554830844204}
- {fileID: 3003821954805478466}
- {fileID: 5440411313343636450}
- {fileID: 40941494441971447}
- {fileID: 412595011879194760} - {fileID: 412595011879194760}
m_Father: {fileID: 6162202373723286846} - {fileID: 1707332620064940}
- {fileID: 1308047778134488800}
m_Father: {fileID: 7571658244325623340}
m_RootOrder: -1 m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2764553145901649132 --- !u!1 &2764553145901649132
@ -1148,12 +1198,12 @@ Transform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4169556150134515299} m_GameObject: {fileID: 4169556150134515299}
m_LocalRotation: {x: 0.0025175, y: -0.7071667, z: 0.0025179575, w: 0.7070379} m_LocalRotation: {x: 1.1641532e-10, y: -0, z: -1.1641532e-10, w: 1}
m_LocalPosition: {x: -0.99543, y: 0.913836, z: -0.9246607} m_LocalPosition: {x: -0.00010064437, y: -0.00037985033, z: -0.00002472628}
m_LocalScale: {x: 93.89588, y: 80.72299, z: 100} m_LocalScale: {x: 1.7081451, y: 0.5381532, z: 14.285715}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 6162202373723286846} m_Father: {fileID: 3304594250572515888}
m_RootOrder: -1 m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &4342248347662630292 --- !u!33 &4342248347662630292
@ -1335,10 +1385,12 @@ Transform:
m_GameObject: {fileID: 5083988847387815339} m_GameObject: {fileID: 5083988847387815339}
m_LocalRotation: {x: 0.0025174997, y: -0.7071667, z: 0.0025179575, w: 0.7070379} m_LocalRotation: {x: 0.0025174997, y: -0.7071667, z: 0.0025179575, w: 0.7070379}
m_LocalPosition: {x: -0.9960098, y: 0.9708109, z: -0.9191284} m_LocalPosition: {x: -0.9960098, y: 0.9708109, z: -0.9191284}
m_LocalScale: {x: 54.9695, y: 150.00002, z: 7} m_LocalScale: {x: 54.9695, y: 150.00003, z: 7}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children:
m_Father: {fileID: 6162202373723286846} - {fileID: 7107645193982891531}
- {fileID: 5532412708117151510}
m_Father: {fileID: 7571658244325623340}
m_RootOrder: -1 m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &6898644419604533241 --- !u!33 &6898644419604533241
@ -1625,14 +1677,11 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6345837147680569081} m_GameObject: {fileID: 6345837147680569081}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0.024, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 2, y: 2, z: 2}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 1
m_Children: m_Children:
- {fileID: 3304594250572515888} - {fileID: 7571658244325623340}
- {fileID: 7107645193982891531}
- {fileID: 5532412708117151510}
- {fileID: 7725059319347024289}
m_Father: {fileID: 2318418055249420589} m_Father: {fileID: 2318418055249420589}
m_RootOrder: -1 m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -1647,7 +1696,9 @@ GameObject:
- component: {fileID: 40941494441971447} - component: {fileID: 40941494441971447}
- component: {fileID: 3208069010558204222} - component: {fileID: 3208069010558204222}
- component: {fileID: 6977373659876383704} - component: {fileID: 6977373659876383704}
- component: {fileID: 1091621344551845894} - component: {fileID: 4168737331772881164}
- component: {fileID: 5117960061919655137}
- component: {fileID: 6716688150999816398}
m_Layer: 0 m_Layer: 0
m_Name: Cylinder.005 m_Name: Cylinder.005
m_TagString: Untagged m_TagString: Untagged
@ -1662,12 +1713,13 @@ Transform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6432132906871663243} m_GameObject: {fileID: 6432132906871663243}
m_LocalRotation: {x: 0.70716655, y: 0.0025179333, z: -0.70703804, w: 0.0025182841} m_LocalRotation: {x: -0.0000012035016, y: 0.00000008940606, z: 4.656613e-10, w: 1}
m_LocalPosition: {x: -0.996788, y: 0.95104027, z: -0.91913414} m_LocalPosition: {x: -0, y: -0.00001, z: 0.00188}
m_LocalScale: {x: 1.040988, y: 1.040988, z: 0.12851703} m_LocalScale: {x: 0.81, y: 0.8099997, z: 0.17931004}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children:
m_Father: {fileID: 7725059319347024289} - {fileID: 5440411313343636450}
m_Father: {fileID: 412595011879194760}
m_RootOrder: -1 m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &3208069010558204222 --- !u!33 &3208069010558204222
@ -1720,7 +1772,7 @@ MeshRenderer:
m_SortingLayer: 0 m_SortingLayer: 0
m_SortingOrder: 0 m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0} m_AdditionalVertexStreams: {fileID: 0}
--- !u!65 &1091621344551845894 --- !u!65 &4168737331772881164
BoxCollider: BoxCollider:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
@ -1739,8 +1791,56 @@ BoxCollider:
m_ProvidesContacts: 0 m_ProvidesContacts: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 3 serializedVersion: 3
m_Size: {x: 0.02, y: 0.019999998, z: 0.0131399855} m_Size: {x: 0.02, y: 0.020000001, z: 0.01}
m_Center: {x: -0.00000047681343, y: 8.796618e-14, z: -0.0033689765} m_Center: {x: 2.0109322e-12, y: 4.1005228e-13, z: 0.00056635326}
--- !u!54 &5117960061919655137
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6432132906871663243}
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: 0
m_Interpolate: 0
m_Constraints: 124
m_CollisionDetection: 0
--- !u!114 &6716688150999816398
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6432132906871663243}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 33e7127f1ef74754f93e1b2f236a7426, type: 3}
m_Name:
m_EditorClassIdentifier:
buttonDirectionRoot: {fileID: 1707332620064940}
minX: 0
maxX: 0
minY: 0
maxY: 0
minZ: -0.005
maxZ: 0
springForce: 3000
damping: 8
--- !u!1 &6792274789431496444 --- !u!1 &6792274789431496444
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1846,6 +1946,37 @@ BoxCollider:
serializedVersion: 3 serializedVersion: 3
m_Size: {x: 0.01, y: 0.01, z: 0.009999999} m_Size: {x: 0.01, y: 0.01, z: 0.009999999}
m_Center: {x: -0.0000019073486, y: 0, z: 0} m_Center: {x: -0.0000019073486, y: 0, z: 0}
--- !u!1 &7428108723292836662
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1308047778134488800}
m_Layer: 0
m_Name: Target 1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1308047778134488800
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7428108723292836662}
m_LocalRotation: {x: 0.7071665, y: 0.0025170825, z: -0.7070381, w: 0.0025174324}
m_LocalPosition: {x: -0.99938095, y: 0.99083626, z: -0.9191292}
m_LocalScale: {x: 1.2851703, y: 1.2851703, z: 2}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7725059319347024289}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &7489255191651269454 --- !u!1 &7489255191651269454
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1872,10 +2003,11 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7489255191651269454} m_GameObject: {fileID: 7489255191651269454}
m_LocalRotation: {x: 0.0025186653, y: -0.7071666, z: 0.0025191233, w: 0.707038} m_LocalRotation: {x: 0.0025186653, y: -0.7071666, z: 0.0025191233, w: 0.707038}
m_LocalPosition: {x: -0.9955139, y: 0.99085045, z: -0.9191284} m_LocalPosition: {x: -0.9956, y: 0.99085045, z: -0.9191284}
m_LocalScale: {x: 1.2851703, y: 1.2851701, z: 1.2851702} m_LocalScale: {x: 1.2851703, y: 1.2851701, z: 2}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children:
- {fileID: 3827770554830844204}
m_Father: {fileID: 7725059319347024289} m_Father: {fileID: 7725059319347024289}
m_RootOrder: -1 m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -1929,6 +2061,74 @@ MeshRenderer:
m_SortingLayer: 0 m_SortingLayer: 0
m_SortingOrder: 0 m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0} m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &8040969224219013348
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7571658244325623340}
- component: {fileID: 5508526013070946752}
- component: {fileID: 3686724470914769516}
m_Layer: 0
m_Name: GameObject
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7571658244325623340
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8040969224219013348}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.479, y: -0.37, z: 0.445}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 3304594250572515888}
- {fileID: 7725059319347024289}
m_Father: {fileID: 6162202373723286846}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &5508526013070946752
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8040969224219013348}
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: 3
m_Size: {x: 0.01, y: 0.1, z: 0.07}
m_Center: {x: -0.99, y: 0.97, z: -0.92}
--- !u!114 &3686724470914769516
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8040969224219013348}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: eb10405b50598284a8ff23d1edde1407, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &8289553806241320887 --- !u!1 &8289553806241320887
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2034,6 +2234,37 @@ BoxCollider:
serializedVersion: 3 serializedVersion: 3
m_Size: {x: 0.01, y: 0.009999999, z: 0.009999998} m_Size: {x: 0.01, y: 0.009999999, z: 0.009999998}
m_Center: {x: -0.00000023841858, y: -0.000000059604645, z: 0.0000000018626451} m_Center: {x: -0.00000023841858, y: -0.000000059604645, z: 0.0000000018626451}
--- !u!1 &8320911064860559485
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1707332620064940}
m_Layer: 0
m_Name: Target 2
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1707332620064940
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8320911064860559485}
m_LocalRotation: {x: 0.7071665, y: 0.0025170825, z: -0.7070381, w: 0.002517433}
m_LocalPosition: {x: -0.99908435, y: 0.9510375, z: -0.91913444}
m_LocalScale: {x: 1.2851703, y: 1.285171, z: 2}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7725059319347024289}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &8520222310950346984 --- !u!1 &8520222310950346984
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2060,12 +2291,12 @@ Transform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8520222310950346984} m_GameObject: {fileID: 8520222310950346984}
m_LocalRotation: {x: 0.0025186648, y: -0.7071666, z: 0.0025191235, w: 0.707038} m_LocalRotation: {x: 0.000001648441, y: 0.00000008940697, z: 3.4924597e-10, w: 1}
m_LocalPosition: {x: -0.9932709, y: 0.9708309, z: -0.91912794} m_LocalPosition: {x: 0, y: 0, z: -0.00039128936}
m_LocalScale: {x: 50.199802, y: 146.42422, z: 1} m_LocalScale: {x: 0.9132302, y: 0.97616106, z: 0.14285713}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 6162202373723286846} m_Father: {fileID: 3304594250572515888}
m_RootOrder: -1 m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &4589286648616132465 --- !u!33 &4589286648616132465
@ -2138,4 +2369,4 @@ BoxCollider:
m_Enabled: 1 m_Enabled: 1
serializedVersion: 3 serializedVersion: 3
m_Size: {x: 0.001, y: 0.001, z: 0.0028471919} m_Size: {x: 0.001, y: 0.001, z: 0.0028471919}
m_Center: {x: 0.000000014901076, y: -0.000000003725292, z: 0.00091596635} m_Center: {x: 0, y: -0.000000003725292, z: -0.001}

View File

@ -0,0 +1,22 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ElevatorCaller : MonoBehaviour
{
// Start is called before the first frame update
private void OnTriggerEnter(Collider other)
{
print(other);
}
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}

View File

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

View File

@ -0,0 +1,25 @@
using UnityEngine;
public class ButtonAxisLock : MonoBehaviour
{
public Transform buttonDirectionRoot;
public float minX = 0f;
public float maxX = 0.02f;
public float minY = 0f;
public float maxY = 0f;
public float minZ = 0f;
public float maxZ = 0f;
void Update()
{
Vector3 localPos = buttonDirectionRoot.InverseTransformPoint(transform.position);
localPos.x = Mathf.Clamp(localPos.z, minX, maxX);
localPos.y = Mathf.Clamp(localPos.z, minY, maxY);
localPos.z = Mathf.Clamp(localPos.z, minZ, maxZ);
transform.position = buttonDirectionRoot.TransformPoint(localPos);
}
}

View File

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

View File

@ -0,0 +1,62 @@
using UnityEngine;
[RequireComponent(typeof(Rigidbody))]
public class SpringyButtonPhysics : MonoBehaviour {
public Transform buttonDirectionRoot;
public float minX = 0f;
public float maxX = 0f;
public float minY = 0f;
public float maxY = 0f;
public float minZ = 0.005f;
public float maxZ = 0f;
[Header("Spring Settings")]
public float springForce = 300f; // how strong it returns
public float damping = 8f; // prevents vibration
private Rigidbody rb;
private Vector3 restLocalPos;
void Start()
{
rb = GetComponent<Rigidbody>();
rb.useGravity = false;
// initial local rest position
restLocalPos = buttonDirectionRoot.InverseTransformPoint(transform.position);
}
void FixedUpdate()
{
// 1. Local pos
Vector3 localPos = buttonDirectionRoot.InverseTransformPoint(transform.position);
// 2. Spring in LOCAL space
Vector3 spring = (restLocalPos - localPos) * springForce;
// 3. Damping also must be in LOCAL space!!
Vector3 localVelocity = buttonDirectionRoot.InverseTransformDirection(rb.velocity);
localVelocity *= damping;
spring -= localVelocity;
// 4. Convert spring to WORLD space
Vector3 worldSpring = buttonDirectionRoot.TransformDirection(spring);
// 5. Apply
rb.AddForce(worldSpring, ForceMode.Acceleration);
// --- 3. Compute new local pos after physics ---
Vector3 newLocalPos = buttonDirectionRoot.InverseTransformPoint(transform.position);
//Debug.Log(spring);
// --- 4. Clamp to allowed ranges ---
newLocalPos.x = Mathf.Clamp(newLocalPos.x, minX, maxX);
newLocalPos.y = Mathf.Clamp(newLocalPos.y, minY, maxY);
newLocalPos.z = Mathf.Clamp(newLocalPos.z, minZ, maxZ);
// --- 5. Convert back to world and move via Rigidbody ---
Vector3 worldPos = buttonDirectionRoot.TransformPoint(newLocalPos);
rb.MovePosition(worldPos);
}
}

View File

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

View File

@ -0,0 +1,74 @@
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.EventSystems;
public class AudioSliderDragHandler : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler
{
public RectTransform sliderBackground; // Assign in Inspector
public float minValue = 0f;
public float maxValue = 1f;
public float slideareaOffsetMultiplier = 0.9f;
public float CurrentValue { get; private set; }
private RectTransform handleRect;
private Vector2 backgroundStart;
private float backgroundWidth;
void Awake()
{
handleRect = GetComponent<RectTransform>();
if (sliderBackground != null)
{
backgroundStart = sliderBackground.position;
backgroundWidth = sliderBackground.rect.width;
}
}
public void OnBeginDrag(PointerEventData eventData)
{
UpdateSlider(eventData);
}
public void OnDrag(PointerEventData eventData)
{
UpdateSlider(eventData);
}
public void OnEndDrag(PointerEventData eventData)
{
UpdateSlider(eventData);
//notify FMOD
}
private void UpdateSlider(PointerEventData eventData)
{
Debug.Log("UpDating Slider");
Vector2 localPoint;
RectTransformUtility.ScreenPointToLocalPointInRectangle(sliderBackground, eventData.position, eventData.pressEventCamera, out localPoint);
float halfWidth = sliderBackground.rect.width * 0.5f;
// Only allow dragging within 90% of the slider width, centered
float limit = halfWidth * slideareaOffsetMultiplier;
float clampedX = Mathf.Clamp(localPoint.x, -limit, limit);
Vector3 newPosition = new Vector3(clampedX, handleRect.localPosition.y, handleRect.localPosition.z);
handleRect.localPosition = newPosition;
// Normalize within the limited 90% range
float normalized = (clampedX + limit) / (limit * 2f);
//Debug.Log(normalized);
CurrentValue = Mathf.Lerp(minValue, maxValue, normalized);
//Debug.Log(warningThreshholdValue);
}
}

View File

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

View File

@ -3,7 +3,7 @@ using UnityEngine.UI;
using UnityEngine.EventSystems; using UnityEngine.EventSystems;
using TMPro; using TMPro;
public class SliderDragHandler : MonoBehaviour, IDragHandler, IBeginDragHandler, IEndDragHandler public class MoveSliderDragHandler : MonoBehaviour, IDragHandler, IBeginDragHandler, IEndDragHandler
{ {
public RectTransform sliderBackground; // Assign in Inspector public RectTransform sliderBackground; // Assign in Inspector
public float minValue = 2f; public float minValue = 2f;
@ -45,9 +45,12 @@ public class SliderDragHandler : MonoBehaviour, IDragHandler, IBeginDragHandler,
{ {
UpdateSlider(eventData); UpdateSlider(eventData);
configurator.UpdateSpeed(CurrentValue); configurator.UpdateSpeed(CurrentValue);
EventSystem.current.SetSelectedGameObject(null);
} }
private void UpdateSlider(PointerEventData eventData) private void UpdateSlider(PointerEventData eventData)
{ {
Debug.Log("UpDating Slider");
Vector2 localPoint; Vector2 localPoint;
RectTransformUtility.ScreenPointToLocalPointInRectangle(sliderBackground, eventData.position, eventData.pressEventCamera, out localPoint); RectTransformUtility.ScreenPointToLocalPointInRectangle(sliderBackground, eventData.position, eventData.pressEventCamera, out localPoint);

Binary file not shown.