Türe öffnen und schließen sich per Button und das Licht kann man ebenfalls per Button an-aus schalten. Sound würde dafür fehlen.

This commit is contained in:
Zinziel
2026-02-10 11:58:20 +01:00
parent 22f2cbab36
commit 8daf2f25ec
14 changed files with 885 additions and 4 deletions

View File

@@ -34,6 +34,8 @@ Transform:
- {fileID: 1699822110596011254}
- {fileID: 7890998032719925093}
- {fileID: 8897631008805881011}
- {fileID: 9204467062915419560}
- {fileID: 8798900028808399259}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
--- !u!1001 &278338030704518477
@@ -137,6 +139,68 @@ MonoBehaviour:
doorSwitchers:
- {fileID: 6200193576773165754}
- {fileID: 4680167521826564460}
--- !u!1001 &626179379873838867
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 6429157482948691941}
m_Modifications:
- target: {fileID: 5269965775009715031, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_Name
value: light-switch
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalPosition.x
value: -5.74816
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalPosition.y
value: 6
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalPosition.z
value: 12.67646
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalRotation.w
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalRotation.y
value: -1
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
--- !u!4 &8798900028808399259 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
m_PrefabInstance: {fileID: 626179379873838867}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &707599933345200699
PrefabInstance:
m_ObjectHideFlags: 0
@@ -155,7 +219,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: e735050751d7930499bae3c522d72f7b, type: 3}
propertyPath: m_LocalPosition.y
value: 4.73199
value: 4.7
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: e735050751d7930499bae3c522d72f7b, type: 3}
propertyPath: m_LocalPosition.z
@@ -204,6 +268,68 @@ Transform:
m_CorrespondingSourceObject: {fileID: 8262797039797108360, guid: e735050751d7930499bae3c522d72f7b, type: 3}
m_PrefabInstance: {fileID: 707599933345200699}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &943376748632486688
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 6429157482948691941}
m_Modifications:
- target: {fileID: 5269965775009715031, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_Name
value: light-switch
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalPosition.x
value: 5.55184
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalPosition.y
value: 6
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalPosition.z
value: 12.67646
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
--- !u!4 &9204467062915419560 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8262797039797108360, guid: f826c5a264d1c4c4f847b99a6360919a, type: 3}
m_PrefabInstance: {fileID: 943376748632486688}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1587808424810749849
PrefabInstance:
m_ObjectHideFlags: 0
@@ -293,7 +419,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: e735050751d7930499bae3c522d72f7b, type: 3}
propertyPath: m_LocalPosition.y
value: 4.73199
value: 4.7
objectReference: {fileID: 0}
- target: {fileID: 8262797039797108360, guid: e735050751d7930499bae3c522d72f7b, type: 3}
propertyPath: m_LocalPosition.z