Made the elevator button-functional. Needs some fine-tuning and audio work.

This commit is contained in:
2025-11-30 22:05:25 +02:00
parent bcf7e3121d
commit dab5bfc677
12 changed files with 483 additions and 74 deletions

View File

@@ -296,14 +296,27 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
buttonDirectionRoot: {fileID: 3142790275690355627}
ElevatorOuter: {fileID: 0}
box: {fileID: 0}
minX: 0
maxX: 0
minY: 0
maxY: 0
minZ: -0.005
maxZ: 0
targetRenderers:
- {fileID: 6493031215605065994}
- {fileID: 2029427538857035721}
- {fileID: 6332036866947783938}
defaultMaterial: {fileID: 2100000, guid: fb15ade5b41060f43816470c3c3dae03, type: 2}
pressedMaterial: {fileID: 2100000, guid: e06a4feba1c7c8d4d9ccd9f08217c305, type: 2}
springForce: 300
damping: 8
isFloorButton: 0
isInsideButton: 1
isCloseDoorsButton: 0
designatedFloor: 0
disabled: 0
--- !u!1 &438676407175250832
GameObject:
m_ObjectHideFlags: 0
@@ -401,14 +414,25 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
buttonDirectionRoot: {fileID: 9087196922762249673}
ElevatorOuter: {fileID: 0}
box: {fileID: 0}
minX: 0
maxX: 0
minY: 0
maxY: 0
minZ: -0.005
maxZ: 0
targetRenderers:
- {fileID: 4082014259661750081}
defaultMaterial: {fileID: 2100000, guid: fb15ade5b41060f43816470c3c3dae03, type: 2}
pressedMaterial: {fileID: 2100000, guid: e06a4feba1c7c8d4d9ccd9f08217c305, type: 2}
springForce: 300
damping: 8
isFloorButton: 1
isInsideButton: 1
isCloseDoorsButton: 0
designatedFloor: 2
disabled: 0
--- !u!1 &537381219194983551
GameObject:
m_ObjectHideFlags: 0
@@ -757,14 +781,27 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
buttonDirectionRoot: {fileID: 6204781832038596249}
ElevatorOuter: {fileID: 0}
box: {fileID: 0}
minX: 0
maxX: 0
minY: 0
maxY: 0
minZ: -0.005
maxZ: 0
targetRenderers:
- {fileID: 1451428946001551558}
- {fileID: 3244295921045762938}
- {fileID: 350891245177445368}
defaultMaterial: {fileID: 2100000, guid: fb15ade5b41060f43816470c3c3dae03, type: 2}
pressedMaterial: {fileID: 2100000, guid: e06a4feba1c7c8d4d9ccd9f08217c305, type: 2}
springForce: 300
damping: 8
isFloorButton: 0
isInsideButton: 1
isCloseDoorsButton: 1
designatedFloor: 0
disabled: 0
--- !u!1 &996792314886891216
GameObject:
m_ObjectHideFlags: 0
@@ -2857,14 +2894,25 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
buttonDirectionRoot: {fileID: 3279722334677606978}
ElevatorOuter: {fileID: 0}
box: {fileID: 0}
minX: 0
maxX: 0
minY: 0
maxY: 0
minZ: -0.005
maxZ: 0
targetRenderers:
- {fileID: 8021515965739304570}
defaultMaterial: {fileID: 2100000, guid: 41f12eac51f3a45459e319b9f41ecb1a, type: 2}
pressedMaterial: {fileID: 2100000, guid: e06a4feba1c7c8d4d9ccd9f08217c305, type: 2}
springForce: 300
damping: 8
isFloorButton: 0
isInsideButton: 1
isCloseDoorsButton: 0
designatedFloor: 0
disabled: 1
--- !u!1 &3325045702031210896
GameObject:
m_ObjectHideFlags: 0
@@ -5390,14 +5438,27 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
buttonDirectionRoot: {fileID: 4950653880436739319}
ElevatorOuter: {fileID: 0}
box: {fileID: 0}
minX: 0
maxX: 0
minY: 0
maxY: 0
minZ: -0.005
maxZ: 0
targetRenderers:
- {fileID: 446523802055600108}
- {fileID: 2127213541793439145}
- {fileID: 8792729680998815027}
defaultMaterial: {fileID: 2100000, guid: fb15ade5b41060f43816470c3c3dae03, type: 2}
pressedMaterial: {fileID: 2100000, guid: e06a4feba1c7c8d4d9ccd9f08217c305, type: 2}
springForce: 300
damping: 8
isFloorButton: 1
isInsideButton: 1
isCloseDoorsButton: 0
designatedFloor: -1
disabled: 1
--- !u!1 &6561745356880359737
GameObject:
m_ObjectHideFlags: 0
@@ -5692,14 +5753,25 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
buttonDirectionRoot: {fileID: 3019113234126189591}
ElevatorOuter: {fileID: 0}
box: {fileID: 0}
minX: 0
maxX: 0
minY: 0
maxY: 0
minZ: -0.005
maxZ: 0
targetRenderers:
- {fileID: 7380030302891720191}
defaultMaterial: {fileID: 2100000, guid: fb15ade5b41060f43816470c3c3dae03, type: 2}
pressedMaterial: {fileID: 2100000, guid: e06a4feba1c7c8d4d9ccd9f08217c305, type: 2}
springForce: 300
damping: 8
isFloorButton: 1
isInsideButton: 1
isCloseDoorsButton: 0
designatedFloor: 3
disabled: 1
--- !u!1 &7341798644222801918
GameObject:
m_ObjectHideFlags: 0
@@ -5880,14 +5952,25 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
buttonDirectionRoot: {fileID: 2675260468325638204}
ElevatorOuter: {fileID: 0}
box: {fileID: 0}
minX: 0
maxX: 0
minY: 0
maxY: 0
minZ: -0.005
maxZ: 0
targetRenderers:
- {fileID: 683714234332461835}
defaultMaterial: {fileID: 2100000, guid: fb15ade5b41060f43816470c3c3dae03, type: 2}
pressedMaterial: {fileID: 2100000, guid: e06a4feba1c7c8d4d9ccd9f08217c305, type: 2}
springForce: 300
damping: 8
isFloorButton: 1
isInsideButton: 1
isCloseDoorsButton: 0
designatedFloor: 0
disabled: 1
--- !u!1 &7417427669271232914
GameObject:
m_ObjectHideFlags: 0
@@ -6028,7 +6111,7 @@ BoxCollider:
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 0.02, y: 0.02, z: 0.004}
m_Size: {x: 0.02, y: 0.02, z: 0.008}
m_Center: {x: -0.0000038146973, y: -0.00000023841858, z: 0.0028}
--- !u!54 &95927051609668696
Rigidbody:
@@ -6070,14 +6153,26 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
buttonDirectionRoot: {fileID: 282480526633532855}
ElevatorOuter: {fileID: 0}
box: {fileID: 0}
minX: 0
maxX: 0
minY: 0
maxY: 0
minZ: -0.005
minZ: -0.009
maxZ: 0
targetRenderers:
- {fileID: 8767912935277034470}
- {fileID: 3147421208204254064}
defaultMaterial: {fileID: 2100000, guid: fb15ade5b41060f43816470c3c3dae03, type: 2}
pressedMaterial: {fileID: 2100000, guid: e06a4feba1c7c8d4d9ccd9f08217c305, type: 2}
springForce: 300
damping: 8
isFloorButton: 1
isInsideButton: 1
isCloseDoorsButton: 0
designatedFloor: 1
disabled: 0
--- !u!1 &7850065779318502237
GameObject:
m_ObjectHideFlags: 0