Added Game Logic
Added chest logic for key press Added Door openning script Openning doors on start (for now) Added UI for chest openning
This commit is contained in:
@@ -121,6 +121,7 @@ GameObject:
|
||||
- component: {fileID: 264244183541474892}
|
||||
- component: {fileID: 7190282298976339630}
|
||||
- component: {fileID: 8966129328394384168}
|
||||
- component: {fileID: 7632024884074263262}
|
||||
m_Layer: 0
|
||||
m_Name: Truhla_1
|
||||
m_TagString: Untagged
|
||||
@@ -198,8 +199,35 @@ BoxCollider:
|
||||
m_ProvidesContacts: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_Size: {x: 5.1036015, y: 3.437481, z: 2.4082344}
|
||||
m_Center: {x: 0.006062031, y: 1.3749173, z: -0.7041172}
|
||||
m_Size: {x: 5, y: 3, z: 4}
|
||||
m_Center: {x: 0, y: 2, z: -1.5}
|
||||
--- !u!54 &7632024884074263262
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3735711022041751044}
|
||||
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: 1
|
||||
m_IsKinematic: 1
|
||||
m_Interpolate: 0
|
||||
m_Constraints: 0
|
||||
m_CollisionDetection: 0
|
||||
--- !u!1 &5978412522907266184
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
Reference in New Issue
Block a user