авто добавления кропаля на коллайдерах. Авто поиск всех элементов мебели. Полный газик
This commit is contained in:
1 parent
772fd3d7f6
commit
eff9613938
34 files changed
+2036
-98
No files matched your search
@@ -1691,7 +1691,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 37c5b010452efc242ae2c7e3114721a7, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureBuilder
|
||||
currentPrefab: {fileID: 1516859676564360999, guid: 6b309dac6143e8b40a6c7ab1b8656f2f, type: 3}
|
||||
currentItemData: {fileID: 0}
|
||||
floorLayer:
|
||||
serializedVersion: 2
|
||||
m_Bits: 8
|
||||
@@ -1705,6 +1705,7 @@ MonoBehaviour:
|
||||
editPanel: {fileID: 1960919036}
|
||||
rotate90Button: {fileID: 1564541429}
|
||||
rotationSpeed: 1
|
||||
doubleClickThreshold: 0.3
|
||||
cameraController: {fileID: 330585548}
|
||||
--- !u!4 &1083789784
|
||||
Transform:
|
||||
@@ -1737,18 +1738,33 @@ MonoBehaviour:
|
||||
buttonTemplate: {fileID: 8082911645752385148, guid: 2fd37a04b732e82418740ea73e20b613, type: 3}
|
||||
contentPanel: {fileID: 435183162}
|
||||
items:
|
||||
- itemName: Chair
|
||||
icon: {fileID: 21300000, guid: 4718151ad31df4141abceaa21416e21c, type: 3}
|
||||
prefab: {fileID: 4123926039959076112, guid: c06eb48f02b2f554fa3da29115925e11, type: 3}
|
||||
- itemName: bed
|
||||
icon: {fileID: 21300000, guid: 39cb12296696ed04d96b23691d925980, type: 3}
|
||||
prefab: {fileID: 7353988610613066599, guid: 9f7421ceded7bb645a78600e43b81518, type: 3}
|
||||
- itemName: Shkaf
|
||||
icon: {fileID: 21300000, guid: 438857afb61d71545a9e4eb529a8b2df, type: 3}
|
||||
prefab: {fileID: 1516859676564360999, guid: 6b309dac6143e8b40a6c7ab1b8656f2f, type: 3}
|
||||
- itemName: Lamp
|
||||
icon: {fileID: 10911, guid: 0000000000000000f000000000000000, type: 0}
|
||||
prefab: {fileID: 2307210997937809716, guid: 1de5126b7e5d69e419afb3918a718672, type: 3}
|
||||
- {fileID: 11400000, guid: d5bbfd55a72990548807f2485a0c3491, type: 2}
|
||||
- {fileID: 11400000, guid: 6b0e4999c1e6ef744bdcec1310fa8a4f, type: 2}
|
||||
- {fileID: 11400000, guid: 29d6972d85c56a64fa41b89b084c4671, type: 2}
|
||||
- {fileID: 11400000, guid: 72e550e1747ab4a40b6ff082d18c8900, type: 2}
|
||||
- {fileID: 11400000, guid: 3736eeafc408e6447a000dba06f2840f, type: 2}
|
||||
- {fileID: 11400000, guid: eba07edb8ca1ee24389bf520c24f7d46, type: 2}
|
||||
- {fileID: 11400000, guid: 8d19604dcfa94ba42bd31b9e01b75384, type: 2}
|
||||
- {fileID: 11400000, guid: b056d1713481bb24495be44e6b93aa2c, type: 2}
|
||||
- {fileID: 11400000, guid: 9b89fc09ee405e44fbc5c1c323b56bc0, type: 2}
|
||||
- {fileID: 11400000, guid: 9e517fbb6581165439ee13b81960a12d, type: 2}
|
||||
- {fileID: 11400000, guid: 663cc1ba1dc07724ead359c4dabb1925, type: 2}
|
||||
- {fileID: 11400000, guid: 9fd56931632907f4bbd90c4b79484757, type: 2}
|
||||
- {fileID: 11400000, guid: 8bc85d133562bc84bb3a2faf7c95c009, type: 2}
|
||||
- {fileID: 11400000, guid: f2a05ed4f213a3e438ceb9c0ceddfe1f, type: 2}
|
||||
- {fileID: 11400000, guid: 0c694552e8868ae4aa6155b828d11f63, type: 2}
|
||||
- {fileID: 11400000, guid: 1f7f3d02b0d52914997a4b28d5838ec8, type: 2}
|
||||
- {fileID: 11400000, guid: c57fbce377ac046498719c72bc93c44f, type: 2}
|
||||
- {fileID: 11400000, guid: cbdc973dc88fa9146bed74fcb7f5b2d5, type: 2}
|
||||
- {fileID: 11400000, guid: 5c04423fedf624a4d9ac1b0de6023630, type: 2}
|
||||
- {fileID: 11400000, guid: e4eee24aa72eed341a2a97532c668562, type: 2}
|
||||
- {fileID: 11400000, guid: 7de27dffb35e1e04da759d150af81295, type: 2}
|
||||
- {fileID: 11400000, guid: a54899006f71a924682e8e592e2933f0, type: 2}
|
||||
- {fileID: 11400000, guid: fe7bffdc95617a24da9a2e0f651bb17e, type: 2}
|
||||
- {fileID: 11400000, guid: 23e5e2f83d8160948840b45e98abb857, type: 2}
|
||||
- {fileID: 11400000, guid: 3f2d8e6523c3b44429bf5e8c92cc3843, type: 2}
|
||||
- {fileID: 11400000, guid: 48af9b70840ed564fab71eda9c75a913, type: 2}
|
||||
- {fileID: 11400000, guid: 00be5b9be5a79a7419f03082ed32ef16, type: 2}
|
||||
--- !u!1 &1107188050
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -12,6 +12,9 @@ GameObject:
|
||||
- component: {fileID: 7130343751868483139}
|
||||
- component: {fileID: 862547706891954577}
|
||||
- component: {fileID: 407560744045990591}
|
||||
- component: {fileID: 8236192391960827884}
|
||||
- component: {fileID: 435961173218110771}
|
||||
- component: {fileID: 2165490759569705275}
|
||||
m_Layer: 6
|
||||
m_Name: shelve.001
|
||||
m_TagString: Untagged
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 1
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &8236192391960827884
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8582451290992144889}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!65 &435961173218110771
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8582451290992144889}
|
||||
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.71322936, y: 0.9935274, z: 0.71322936}
|
||||
m_Center: {x: 0, y: 0.38658303, z: 0}
|
||||
--- !u!54 &2165490759569705275
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8582451290992144889}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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
|
||||
@@ -12,6 +12,9 @@ GameObject:
|
||||
- component: {fileID: 4249290343654292691}
|
||||
- component: {fileID: 623136191205908227}
|
||||
- component: {fileID: 403806182392728465}
|
||||
- component: {fileID: 2399627826336910450}
|
||||
- component: {fileID: 3778987376372117083}
|
||||
- component: {fileID: 8550930217683081252}
|
||||
m_Layer: 6
|
||||
m_Name: shelve.002
|
||||
m_TagString: Untagged
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 1
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &2399627826336910450
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1370674859457573360}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!65 &3778987376372117083
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1370674859457573360}
|
||||
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.73967755, y: 0.9935274, z: 0.7132294}
|
||||
m_Center: {x: -0.01322408, y: 0.38658303, z: 1.0277624}
|
||||
--- !u!54 &8550930217683081252
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1370674859457573360}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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
|
||||
@@ -12,6 +12,9 @@ GameObject:
|
||||
- component: {fileID: 3737353454728234606}
|
||||
- component: {fileID: 3959090720549437644}
|
||||
- component: {fileID: 6998555291626795534}
|
||||
- component: {fileID: 8026388492048104052}
|
||||
- component: {fileID: 4956216911903809882}
|
||||
- component: {fileID: 6946638347930113839}
|
||||
m_Layer: 6
|
||||
m_Name: shelve.003
|
||||
m_TagString: Untagged
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 1
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &8026388492048104052
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4311378454109748196}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!65 &4956216911903809882
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4311378454109748196}
|
||||
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.73967755, y: 0.9935274, z: 0.7132294}
|
||||
m_Center: {x: -0.01322408, y: 0.38658303, z: 1.0277624}
|
||||
--- !u!54 &6946638347930113839
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4311378454109748196}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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
|
||||
@@ -12,6 +12,9 @@ GameObject:
|
||||
- component: {fileID: 5407931643937261847}
|
||||
- component: {fileID: 7227396020891869782}
|
||||
- component: {fileID: 5862830523371482945}
|
||||
- component: {fileID: 4015411709824010850}
|
||||
- component: {fileID: 2363570416463445407}
|
||||
- component: {fileID: 910551013704886376}
|
||||
m_Layer: 6
|
||||
m_Name: shelve.004
|
||||
m_TagString: Untagged
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 1
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &4015411709824010850
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8944618397701666270}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!65 &2363570416463445407
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8944618397701666270}
|
||||
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.71322936, y: 1.1072615, z: 1.2432294}
|
||||
m_Center: {x: 0, y: 0.4434501, z: -0.265}
|
||||
--- !u!54 &910551013704886376
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8944618397701666270}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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
|
||||
@@ -12,6 +12,9 @@ GameObject:
|
||||
- component: {fileID: 740688417913185945}
|
||||
- component: {fileID: 9159372924110191966}
|
||||
- component: {fileID: 5997716971613392350}
|
||||
- component: {fileID: 1307944468966481626}
|
||||
- component: {fileID: 8779569802868676358}
|
||||
- component: {fileID: 1839579679765679642}
|
||||
m_Layer: 6
|
||||
m_Name: shelve.005
|
||||
m_TagString: Untagged
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 1
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &1307944468966481626
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 365694483424939550}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!65 &8779569802868676358
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 365694483424939550}
|
||||
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.73967755, y: 1.1072615, z: 1.2432294}
|
||||
m_Center: {x: -0.01322408, y: 0.4434501, z: -0.265}
|
||||
--- !u!54 &1839579679765679642
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 365694483424939550}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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
|
||||
@@ -12,6 +12,9 @@ GameObject:
|
||||
- component: {fileID: 3065538488727857833}
|
||||
- component: {fileID: 3889200812980707585}
|
||||
- component: {fileID: 7552398439728873935}
|
||||
- component: {fileID: 4508946496862989505}
|
||||
- component: {fileID: 659739052913347652}
|
||||
- component: {fileID: 4534217384080686989}
|
||||
m_Layer: 6
|
||||
m_Name: shelve.006
|
||||
m_TagString: Untagged
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 1
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &4508946496862989505
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7113511403676392543}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!65 &659739052913347652
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7113511403676392543}
|
||||
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.73967755, y: 1.1072615, z: 1.2432294}
|
||||
m_Center: {x: -0.01322408, y: 0.4434501, z: -0.265}
|
||||
--- !u!54 &4534217384080686989
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7113511403676392543}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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
|
||||
@@ -12,6 +12,9 @@ GameObject:
|
||||
- component: {fileID: 7220064700894426128}
|
||||
- component: {fileID: 149715643862808494}
|
||||
- component: {fileID: 5446589641495484349}
|
||||
- component: {fileID: 8291596864427662909}
|
||||
- component: {fileID: 2232903175342062866}
|
||||
- component: {fileID: 8044509816387733844}
|
||||
m_Layer: 6
|
||||
m_Name: shelve.007
|
||||
m_TagString: Untagged
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 1
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &8291596864427662909
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8291104239391377939}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!65 &2232903175342062866
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8291104239391377939}
|
||||
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.71322936, y: 1.1072615, z: 1.7432294}
|
||||
m_Center: {x: 0, y: 0.4434501, z: -0.515}
|
||||
--- !u!54 &8044509816387733844
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8291104239391377939}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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
|
||||
@@ -12,6 +12,9 @@ GameObject:
|
||||
- component: {fileID: 4722694295014728885}
|
||||
- component: {fileID: 3607838918851856019}
|
||||
- component: {fileID: 4534548258357739705}
|
||||
- component: {fileID: 5608335272953985495}
|
||||
- component: {fileID: 169481768482580246}
|
||||
- component: {fileID: 2585762520528443784}
|
||||
m_Layer: 6
|
||||
m_Name: shelve.008
|
||||
m_TagString: Untagged
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 1
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &5608335272953985495
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9143858421671490}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!65 &169481768482580246
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9143858421671490}
|
||||
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.73967755, y: 1.1072615, z: 1.7432294}
|
||||
m_Center: {x: -0.01322408, y: 0.4434501, z: -0.515}
|
||||
--- !u!54 &2585762520528443784
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9143858421671490}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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
|
||||
@@ -12,6 +12,9 @@ GameObject:
|
||||
- component: {fileID: 3620580442512904810}
|
||||
- component: {fileID: 8332370171031499193}
|
||||
- component: {fileID: 5803638664039929060}
|
||||
- component: {fileID: 7705222373480863401}
|
||||
- component: {fileID: 3826636117964328047}
|
||||
- component: {fileID: 4916769803654389685}
|
||||
m_Layer: 6
|
||||
m_Name: shelve.009
|
||||
m_TagString: Untagged
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 1
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &7705222373480863401
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7474987574855449420}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!65 &3826636117964328047
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7474987574855449420}
|
||||
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.73967755, y: 1.1072615, z: 1.7432294}
|
||||
m_Center: {x: -0.01322408, y: 0.4434501, z: -0.515}
|
||||
--- !u!54 &4916769803654389685
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7474987574855449420}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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
|
||||
@@ -12,6 +12,9 @@ GameObject:
|
||||
- component: {fileID: 7198231385649369868}
|
||||
- component: {fileID: 478231353818499919}
|
||||
- component: {fileID: 2731583433496335787}
|
||||
- component: {fileID: 1577101942399675904}
|
||||
- component: {fileID: 7972038224123363979}
|
||||
- component: {fileID: 3146527117761795284}
|
||||
m_Layer: 6
|
||||
m_Name: shelve.010
|
||||
m_TagString: Untagged
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 1
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &1577101942399675904
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7921491234610293428}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!65 &7972038224123363979
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7921491234610293428}
|
||||
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.71322936, y: 1.1072615, z: 2.2432294}
|
||||
m_Center: {x: 0, y: 0.4434501, z: -0.765}
|
||||
--- !u!54 &3146527117761795284
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7921491234610293428}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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
|
||||
@@ -12,6 +12,9 @@ GameObject:
|
||||
- component: {fileID: 5806366950860741341}
|
||||
- component: {fileID: 4290546814021691998}
|
||||
- component: {fileID: 2831533336043540247}
|
||||
- component: {fileID: 4283565678454626425}
|
||||
- component: {fileID: 1463798050070787042}
|
||||
- component: {fileID: 8668995772464012803}
|
||||
m_Layer: 6
|
||||
m_Name: shelve.011
|
||||
m_TagString: Untagged
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 1
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &4283565678454626425
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 882694742570607888}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!65 &1463798050070787042
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 882694742570607888}
|
||||
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.73967755, y: 1.1072615, z: 2.2432294}
|
||||
m_Center: {x: -0.01322408, y: 0.4434501, z: -0.765}
|
||||
--- !u!54 &8668995772464012803
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 882694742570607888}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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
|
||||
@@ -12,6 +12,9 @@ GameObject:
|
||||
- component: {fileID: 5375040437545599327}
|
||||
- component: {fileID: 5739377793204760287}
|
||||
- component: {fileID: 3929652350785637513}
|
||||
- component: {fileID: 8472237941151146240}
|
||||
- component: {fileID: 7043784245904822338}
|
||||
- component: {fileID: 3953855034042636764}
|
||||
m_Layer: 6
|
||||
m_Name: shelve.012
|
||||
m_TagString: Untagged
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 1
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &8472237941151146240
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2795975507081985671}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!65 &7043784245904822338
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2795975507081985671}
|
||||
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.73967755, y: 1.1072615, z: 2.2432294}
|
||||
m_Center: {x: -0.01322408, y: 0.4434501, z: -0.765}
|
||||
--- !u!54 &3953855034042636764
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2795975507081985671}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 4483538989672206485}
|
||||
- component: {fileID: 17593323396976828}
|
||||
- component: {fileID: 3812926818320421005}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 2933074496205792241}
|
||||
- component: {fileID: 7134578237957384968}
|
||||
- component: {fileID: 4689846584554617357}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.001
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &2933074496205792241
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5206022045048911307}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &7134578237957384968
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5206022045048911307}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &4689846584554617357
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5206022045048911307}
|
||||
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.71322936, y: 0.6365844, z: 2.2432294}
|
||||
m_Center: {x: 0, y: 0.20811157, z: -0.765}
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 4599981354704672778}
|
||||
- component: {fileID: 8777776197705584220}
|
||||
- component: {fileID: 8831947026320515478}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 7887498421126616777}
|
||||
- component: {fileID: 120719469100453949}
|
||||
- component: {fileID: 618089193089191115}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.002
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &7887498421126616777
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1644514187404928988}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &120719469100453949
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1644514187404928988}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &618089193089191115
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1644514187404928988}
|
||||
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.73967755, y: 0.6365844, z: 2.2432294}
|
||||
m_Center: {x: -0.01322408, y: 0.20811157, z: -0.765}
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 197702251262215158}
|
||||
- component: {fileID: 4100588365876450978}
|
||||
- component: {fileID: 7452509673848128824}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 4011048912688078544}
|
||||
- component: {fileID: 7445101937758087800}
|
||||
- component: {fileID: 4219906520344900856}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.003
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &4011048912688078544
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2998888109926598775}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &7445101937758087800
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2998888109926598775}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &4219906520344900856
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2998888109926598775}
|
||||
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.71322936, y: 0.6365844, z: 2.2432294}
|
||||
m_Center: {x: 0, y: 0.20811157, z: -0.765}
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 7420859217049087533}
|
||||
- component: {fileID: 2658229459516932983}
|
||||
- component: {fileID: 1046549543451919672}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 9060860164631945280}
|
||||
- component: {fileID: 7727531713092761408}
|
||||
- component: {fileID: 7339260417257815238}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.004
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &9060860164631945280
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9198450330371812501}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &7727531713092761408
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9198450330371812501}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &7339260417257815238
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9198450330371812501}
|
||||
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.71322936, y: 0.6365844, z: 2.2432294}
|
||||
m_Center: {x: 0, y: 0.20811157, z: -0.765}
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 8522355117190703155}
|
||||
- component: {fileID: 5014920140998208402}
|
||||
- component: {fileID: 1177731992583234761}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 3655171871577412385}
|
||||
- component: {fileID: 1928126975893191783}
|
||||
- component: {fileID: 6881296482026983354}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.005
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &3655171871577412385
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9107123286245943826}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &1928126975893191783
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9107123286245943826}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &6881296482026983354
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9107123286245943826}
|
||||
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.71322936, y: 0.6365844, z: 2.2432294}
|
||||
m_Center: {x: 0, y: 0.20811157, z: -0.765}
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 4063640692786553972}
|
||||
- component: {fileID: 674808744825972977}
|
||||
- component: {fileID: 8776282060458965888}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 5294372445657436362}
|
||||
- component: {fileID: 8609438440369961251}
|
||||
- component: {fileID: 3384103513064426827}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.006
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &5294372445657436362
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1635556413369159107}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &8609438440369961251
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1635556413369159107}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &3384103513064426827
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1635556413369159107}
|
||||
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.71322936, y: 0.6365844, z: 2.2432294}
|
||||
m_Center: {x: 0, y: 0.20811157, z: -0.765}
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 707998019707453130}
|
||||
- component: {fileID: 2108447993125547577}
|
||||
- component: {fileID: 5395793661942297543}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 3256237802444760177}
|
||||
- component: {fileID: 2338334396235762463}
|
||||
- component: {fileID: 1171568113030785272}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.007
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &3256237802444760177
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5525734921343713490}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &2338334396235762463
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5525734921343713490}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &1171568113030785272
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5525734921343713490}
|
||||
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.74920785, y: 0.6365844, z: 2.2432294}
|
||||
m_Center: {x: -0.017989233, y: 0.20811157, z: -0.765}
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 8794660443077959570}
|
||||
- component: {fileID: 6768169513775372402}
|
||||
- component: {fileID: 6731937058166688486}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 1291907301486417352}
|
||||
- component: {fileID: 7461481167228654435}
|
||||
- component: {fileID: 4597351560811518129}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.008
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &1291907301486417352
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7234431097657302389}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &7461481167228654435
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7234431097657302389}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &4597351560811518129
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7234431097657302389}
|
||||
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.74714756, y: 0.6365844, z: 2.2432294}
|
||||
m_Center: {x: -0.016959086, y: 0.20811157, z: -0.765}
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 5921402369568477439}
|
||||
- component: {fileID: 5626624213555270132}
|
||||
- component: {fileID: 532902464323127564}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 2429400058135830837}
|
||||
- component: {fileID: 5832616559256961456}
|
||||
- component: {fileID: 358588816409998382}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.009
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &2429400058135830837
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6137178651808764437}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &5832616559256961456
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6137178651808764437}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &358588816409998382
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6137178651808764437}
|
||||
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.7132294, y: 0.6365844, z: 2.7432292}
|
||||
m_Center: {x: -0.000000014901161, y: 0.20811157, z: -1.015}
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 4747162658361021051}
|
||||
- component: {fileID: 7606440879804081604}
|
||||
- component: {fileID: 4533971701816992465}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 7702680768467578604}
|
||||
- component: {fileID: 7934470034276410661}
|
||||
- component: {fileID: 8325142416523739866}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.010
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &7702680768467578604
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7887638863034484790}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &7934470034276410661
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7887638863034484790}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &8325142416523739866
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7887638863034484790}
|
||||
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.73967755, y: 0.6365844, z: 2.7432292}
|
||||
m_Center: {x: -0.01322408, y: 0.20811157, z: -1.015}
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 3394407432079971182}
|
||||
- component: {fileID: 6978897551720942239}
|
||||
- component: {fileID: 259396826908125940}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 6109453161675500262}
|
||||
- component: {fileID: 1829246297689356248}
|
||||
- component: {fileID: 1029039789406367384}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.011
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &6109453161675500262
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9144230833113042777}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &1829246297689356248
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9144230833113042777}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &1029039789406367384
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9144230833113042777}
|
||||
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.71322936, y: 0.6365844, z: 2.7432294}
|
||||
m_Center: {x: 0, y: 0.20811157, z: -1.0149999}
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 6346717443116692871}
|
||||
- component: {fileID: 5852514749800529872}
|
||||
- component: {fileID: 5258985184098807164}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 5470072055624844701}
|
||||
- component: {fileID: 1669023220398233331}
|
||||
- component: {fileID: 8004750298473900366}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.012
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &5470072055624844701
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2367107091362310949}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &1669023220398233331
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2367107091362310949}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &8004750298473900366
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2367107091362310949}
|
||||
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.71322936, y: 0.6365844, z: 2.7432294}
|
||||
m_Center: {x: 0, y: 0.20811157, z: -1.0149999}
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 1130049518318339267}
|
||||
- component: {fileID: 5874947149177551678}
|
||||
- component: {fileID: 6219328637868566823}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 6633842815965238967}
|
||||
- component: {fileID: 367063146523560978}
|
||||
- component: {fileID: 2650992999970321104}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.013
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &6633842815965238967
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4572894290600401074}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &367063146523560978
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4572894290600401074}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &2650992999970321104
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4572894290600401074}
|
||||
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.71322936, y: 0.6365844, z: 2.7432294}
|
||||
m_Center: {x: 0, y: 0.20811157, z: -1.0149999}
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 480113563893926920}
|
||||
- component: {fileID: 4233029879691247403}
|
||||
- component: {fileID: 3844728289648852077}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 3121295113461715755}
|
||||
- component: {fileID: 701943275101519264}
|
||||
- component: {fileID: 2794032792781495596}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.014
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &3121295113461715755
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5960437808758565569}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &701943275101519264
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5960437808758565569}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &2794032792781495596
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5960437808758565569}
|
||||
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.71322936, y: 0.6365844, z: 2.7432294}
|
||||
m_Center: {x: 0, y: 0.20811157, z: -1.0149999}
|
||||
@@ -12,7 +12,10 @@ GameObject:
|
||||
- component: {fileID: 6200982224367608549}
|
||||
- component: {fileID: 4840219562698770499}
|
||||
- component: {fileID: 1236100693385751939}
|
||||
m_Layer: 0
|
||||
- component: {fileID: 6981977125107033521}
|
||||
- component: {fileID: 6122731250737842954}
|
||||
- component: {fileID: 6429274696853934682}
|
||||
m_Layer: 6
|
||||
m_Name: TV_shelve.015
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -105,3 +108,67 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureVisuals
|
||||
enableLivePreview: 0
|
||||
previewItem: {fileID: 0}
|
||||
--- !u!114 &6981977125107033521
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 967878414425838682}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7196b5f65c7bcd143b0f035424936bef, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::FurnitureObject
|
||||
obstacleLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 192
|
||||
isWallObject: 0
|
||||
--- !u!54 &6122731250737842954
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 967878414425838682}
|
||||
serializedVersion: 5
|
||||
m_Mass: 1
|
||||
m_LinearDamping: 0
|
||||
m_AngularDamping: 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!65 &6429274696853934682
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 967878414425838682}
|
||||
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.75043905, y: 0.6365844, z: 2.7432294}
|
||||
m_Center: {x: -0.01860486, y: 0.20811157, z: -1.0149999}
|
||||
@@ -0,0 +1,47 @@
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
|
||||
public class ColliderFitter : Editor
|
||||
{
|
||||
// Насколько увеличиваем? (0.02f = 2 сантиметра во все стороны)
|
||||
private const float Padding = 0.02f;
|
||||
|
||||
[MenuItem("Tools/Увеличить коллайдеры (На кропаль)")]
|
||||
public static void InflateColliders()
|
||||
{
|
||||
int count = 0;
|
||||
|
||||
// Берем все объекты, которые вы выделили мышкой
|
||||
foreach (GameObject obj in Selection.gameObjects)
|
||||
{
|
||||
// Проверяем, что это файл в папке (префаб), а не объект на сцене
|
||||
string assetPath = AssetDatabase.GetAssetPath(obj);
|
||||
if (string.IsNullOrEmpty(assetPath)) continue;
|
||||
|
||||
// Безопасный режим редактирования префабов (в Unity 6 это стандарт)
|
||||
using (var editingScope = new PrefabUtility.EditPrefabContentsScope(assetPath))
|
||||
{
|
||||
GameObject prefabRoot = editingScope.prefabContentsRoot;
|
||||
|
||||
// Ищем все BoxCollider'ы на префабе (даже в дочерних объектах)
|
||||
BoxCollider[] colliders = prefabRoot.GetComponentsInChildren<BoxCollider>();
|
||||
|
||||
bool modified = false;
|
||||
foreach (BoxCollider box in colliders)
|
||||
{
|
||||
// Увеличиваем размер
|
||||
box.size += new Vector3(Padding, Padding, Padding);
|
||||
modified = true;
|
||||
}
|
||||
|
||||
if (modified)
|
||||
{
|
||||
count++;
|
||||
}
|
||||
}
|
||||
// При выходе из блока using Unity сама сохраняет префаб
|
||||
}
|
||||
|
||||
Debug.Log($"<color=cyan>Готово!</color> Увеличены коллайдеры на {count} префабах.");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ce00b151cf8841d781f06926892b06da
|
||||
timeCreated: 1786306015
|
||||
@@ -22,4 +22,6 @@ public class FurnitureItemSO : ScriptableObject
|
||||
public AssetReference prefabRef;
|
||||
|
||||
public List<FurniturePreset> availablePresets;
|
||||
[Header("Механика установки")]
|
||||
public bool isWallObject = false;
|
||||
}
|
||||
@@ -1,12 +1,14 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.AddressableAssets;
|
||||
using UnityEngine.ResourceManagement.AsyncOperations;
|
||||
|
||||
public class FurnitureController : MonoBehaviour
|
||||
{
|
||||
public enum EditTool { Move, Rotate }
|
||||
|
||||
[Header("Настройки")]
|
||||
public GameObject currentPrefab;
|
||||
public FurnitureItemSO currentItemData; // Заменили GameObject на SO
|
||||
public LayerMask floorLayer;
|
||||
public LayerMask wallLayer;
|
||||
public LayerMask furnitureLayer;
|
||||
@@ -19,7 +21,7 @@ public class FurnitureController : MonoBehaviour
|
||||
public float rotationSpeed = 5f;
|
||||
|
||||
[Header("Настройки двойного клика")]
|
||||
public float doubleClickThreshold = 0.3f; // Максимальное время между кликами в секундах
|
||||
public float doubleClickThreshold = 0.3f;
|
||||
|
||||
[Header("Связь с камерой")]
|
||||
public MonoBehaviour cameraController;
|
||||
@@ -33,7 +35,7 @@ public class FurnitureController : MonoBehaviour
|
||||
private Vector3 _lastInputPos;
|
||||
private Vector3 _dragOffset;
|
||||
|
||||
private float _lastClickTime = 0f; // Хранит время последнего клика
|
||||
private float _lastClickTime = 0f;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
@@ -41,7 +43,7 @@ public class FurnitureController : MonoBehaviour
|
||||
if (cameraController == null && _cam != null)
|
||||
cameraController = _cam.GetComponent("CameraController") as MonoBehaviour;
|
||||
|
||||
currentPrefab = null;
|
||||
currentItemData = null;
|
||||
editPanel.SetActive(false);
|
||||
if (rotate90Button != null) rotate90Button.SetActive(false);
|
||||
}
|
||||
@@ -52,26 +54,23 @@ public class FurnitureController : MonoBehaviour
|
||||
{
|
||||
HandleEditing();
|
||||
}
|
||||
else if (currentPrefab != null)
|
||||
else if (currentItemData != null)
|
||||
{
|
||||
// Оставляем одинарный клик для установки НОВОЙ мебели
|
||||
if (Input.GetMouseButtonDown(0) && !shopPanel.activeSelf && !IsPointerOverUI())
|
||||
TryPlaceFurniture();
|
||||
}
|
||||
else
|
||||
{
|
||||
// Логика двойного клика для выбора УЖЕ УСТАНОВЛЕННОЙ мебели
|
||||
if (Input.GetMouseButtonDown(0) && !shopPanel.activeSelf && !IsPointerOverUI())
|
||||
{
|
||||
float timeSinceLastClick = Time.time - _lastClickTime;
|
||||
|
||||
if (timeSinceLastClick <= doubleClickThreshold)
|
||||
{
|
||||
// Если время между кликами меньше порога — это двойной клик
|
||||
TrySelectPlacedFurniture();
|
||||
}
|
||||
|
||||
_lastClickTime = Time.time; // Запоминаем время текущего клика
|
||||
_lastClickTime = Time.time;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -99,7 +98,6 @@ public class FurnitureController : MonoBehaviour
|
||||
|
||||
if (foundFurniture)
|
||||
{
|
||||
// Для пола считаем смещение, настенные предметы просто цепляем к курсору
|
||||
if (!_activeFurnitureScript.isWallObject && Physics.Raycast(ray, out RaycastHit floorHit, 100f, floorLayer))
|
||||
{
|
||||
_dragOffset = _activeFurniture.transform.position - floorHit.point;
|
||||
@@ -122,17 +120,14 @@ public class FurnitureController : MonoBehaviour
|
||||
|
||||
if (_currentTool == EditTool.Move)
|
||||
{
|
||||
// === ЛОГИКА ДЛЯ НАСТЕННЫХ ПРЕДМЕТОВ ===
|
||||
if (_activeFurnitureScript.isWallObject)
|
||||
{
|
||||
if (Physics.Raycast(ray, out RaycastHit hit, 100f, wallLayer))
|
||||
{
|
||||
_activeFurniture.transform.position = hit.point;
|
||||
// Магия: Поворачиваем объект "лицом" от стены
|
||||
_activeFurniture.transform.rotation = Quaternion.LookRotation(hit.normal);
|
||||
}
|
||||
}
|
||||
// === ЛОГИКА ДЛЯ НАПОЛЬНЫХ ПРЕДМЕТОВ (Старая) ===
|
||||
else
|
||||
{
|
||||
if (Physics.Raycast(ray, out RaycastHit hit, 100f, floorLayer))
|
||||
@@ -180,7 +175,6 @@ public class FurnitureController : MonoBehaviour
|
||||
{
|
||||
float deltaX = Input.mousePosition.x - _lastInputPos.x;
|
||||
|
||||
// Настенные предметы крутим вокруг своей оси Z (по циферблату), а напольные - вокруг мировой Y
|
||||
if (_activeFurnitureScript.isWallObject)
|
||||
_activeFurniture.transform.Rotate(Vector3.forward, -deltaX * rotationSpeed * 0.2f, Space.Self);
|
||||
else
|
||||
@@ -258,30 +252,51 @@ public class FurnitureController : MonoBehaviour
|
||||
{
|
||||
Ray ray = _cam.ScreenPointToRay(Input.mousePosition);
|
||||
|
||||
// Определяем, куда пускать луч при установке в зависимости от типа предмета
|
||||
FurnitureObject prefabScript = currentPrefab.GetComponent<FurnitureObject>();
|
||||
LayerMask targetLayer = prefabScript.isWallObject ? wallLayer : floorLayer;
|
||||
// Берем слой для первичной установки из карточки товара SO!
|
||||
LayerMask targetLayer = currentItemData.isWallObject ? wallLayer : floorLayer;
|
||||
|
||||
if (Physics.Raycast(ray, out RaycastHit hit, 100f, targetLayer))
|
||||
{
|
||||
_activeFurniture = Instantiate(currentPrefab, hit.point, Quaternion.identity);
|
||||
|
||||
// Если это стена - сразу поворачиваем спиной к ней
|
||||
if (prefabScript.isWallObject)
|
||||
// Блокируем новые клики, пока грузится ассет
|
||||
_isInteracting = true;
|
||||
|
||||
Quaternion spawnRot = Quaternion.identity;
|
||||
if (currentItemData.isWallObject)
|
||||
spawnRot = Quaternion.LookRotation(hit.normal);
|
||||
|
||||
// Запускаем асинхронную загрузку из Addressables
|
||||
currentItemData.prefabRef.InstantiateAsync(hit.point, spawnRot).Completed += handle =>
|
||||
{
|
||||
_activeFurniture.transform.rotation = Quaternion.LookRotation(hit.normal);
|
||||
}
|
||||
if (handle.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
_activeFurniture = handle.Result;
|
||||
_activeFurnitureScript = _activeFurniture.GetComponent<FurnitureObject>();
|
||||
|
||||
// --- МАГИЯ АРХИТЕКТУРЫ ---
|
||||
// Находим скрипт визуала и применяем базовый цвет (Preset 0)
|
||||
FurnitureVisuals visuals = _activeFurniture.GetComponent<FurnitureVisuals>();
|
||||
if (visuals != null && currentItemData.availablePresets != null && currentItemData.availablePresets.Count > 0)
|
||||
{
|
||||
visuals.ApplyPreset(currentItemData.availablePresets[0]);
|
||||
}
|
||||
// -------------------------
|
||||
|
||||
_activeFurnitureScript = _activeFurniture.GetComponent<FurnitureObject>();
|
||||
_activeFurnitureScript.SetEditMode(true);
|
||||
|
||||
_currentTool = EditTool.Move;
|
||||
if (rotate90Button != null) rotate90Button.SetActive(false);
|
||||
_activeFurnitureScript.SetEditMode(true);
|
||||
|
||||
_currentTool = EditTool.Move;
|
||||
if (rotate90Button != null) rotate90Button.SetActive(false);
|
||||
|
||||
currentPrefab = null;
|
||||
_isInteracting = false;
|
||||
LockCamera(false);
|
||||
UpdateUIPosition();
|
||||
currentItemData = null; // Сбрасываем карточку из буфера
|
||||
_isInteracting = false;
|
||||
LockCamera(false);
|
||||
UpdateUIPosition();
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError($"Не удалось загрузить {currentItemData.itemName}. Проверьте галочку Addressables на префабе!");
|
||||
_isInteracting = false;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -291,7 +306,6 @@ public class FurnitureController : MonoBehaviour
|
||||
{
|
||||
if (_activeFurnitureScript.isWallObject)
|
||||
{
|
||||
// Настенные объекты поворачиваем по их локальной оси Z (как часы)
|
||||
_activeFurniture.transform.Rotate(0, 0, 90f, Space.Self);
|
||||
}
|
||||
else
|
||||
@@ -322,7 +336,9 @@ public class FurnitureController : MonoBehaviour
|
||||
{
|
||||
if (_activeFurniture != null)
|
||||
{
|
||||
Destroy(_activeFurniture);
|
||||
// ПРАВИЛЬНОЕ удаление объекта, заспавненного через Addressables
|
||||
Addressables.ReleaseInstance(_activeFurniture);
|
||||
|
||||
_activeFurniture = null;
|
||||
_activeFurnitureScript = null;
|
||||
editPanel.SetActive(false);
|
||||
@@ -330,9 +346,10 @@ public class FurnitureController : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
public void SelectFurnitureAndCloseShop(GameObject prefabToSelect)
|
||||
// Эта функция вызывается из ShopManager
|
||||
public void SelectFurnitureAndCloseShop(FurnitureItemSO itemToSelect)
|
||||
{
|
||||
currentPrefab = prefabToSelect;
|
||||
currentItemData = itemToSelect;
|
||||
shopPanel.SetActive(false);
|
||||
}
|
||||
|
||||
|
||||
@@ -2,12 +2,9 @@ using UnityEngine;
|
||||
|
||||
public class FurnitureObject : MonoBehaviour
|
||||
{
|
||||
[Header("Тип объекта")]
|
||||
public bool isWallObject = false; // ГАЛОЧКА: Это настенный предмет?
|
||||
|
||||
[Header("Настройки")]
|
||||
public LayerMask obstacleLayers;
|
||||
|
||||
public bool isWallObject;
|
||||
private int _obstaclesCount = 0;
|
||||
public bool IsPlacementValid => _obstaclesCount == 0;
|
||||
|
||||
|
||||
@@ -1,52 +1,99 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI; // Обязательно добавляем для работы с интерфейсом
|
||||
|
||||
// Этот класс - наша "карточка товара". Он хранит иконку и 3D-модель.
|
||||
[System.Serializable] // Позволяет отображать этот класс в инспекторе Unity
|
||||
public class FurnitureItem
|
||||
{
|
||||
public string itemName; // Название (просто для вашего удобства в инспекторе)
|
||||
public Sprite icon; // Иконка для магазина
|
||||
public GameObject prefab; // 3D-модель для установки
|
||||
}
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class ShopManager : MonoBehaviour
|
||||
{
|
||||
[Header("Связи")]
|
||||
public FurnitureController builder; // Ссылка на ваш скрипт строительства
|
||||
public GameObject buttonTemplate; // Наш префаб кнопки магазина
|
||||
public Transform contentPanel; // Тот самый объект Content с Grid Layout Group
|
||||
[Tooltip("Ссылка на скрипт управления строительством")]
|
||||
public FurnitureController builder;
|
||||
|
||||
[Tooltip("Префаб UI-кнопки магазина")]
|
||||
public GameObject buttonTemplate;
|
||||
|
||||
[Tooltip("Объект Content, внутри которого лежит Grid Layout Group")]
|
||||
public Transform contentPanel;
|
||||
|
||||
[Header("Каталог мебели")]
|
||||
public List<FurnitureItem> items; // Список всей мебели в игре
|
||||
[Tooltip("Список всех карточек товаров (Scriptable Objects)")]
|
||||
public List<FurnitureItemSO> items;
|
||||
|
||||
void Start()
|
||||
private void Start()
|
||||
{
|
||||
// Как только игра запускается, генерируем магазин
|
||||
GenerateShop();
|
||||
}
|
||||
|
||||
void GenerateShop()
|
||||
public void GenerateShop()
|
||||
{
|
||||
// Проходимся по каждому предмету в нашем каталоге
|
||||
foreach (FurnitureItem item in items)
|
||||
// 1. Очищаем панель от старых кнопок (полезно при переключении категорий)
|
||||
foreach (Transform child in contentPanel)
|
||||
{
|
||||
// 1. Создаем копию шаблона кнопки внутри панели Content
|
||||
Destroy(child.gameObject);
|
||||
}
|
||||
|
||||
// 2. Проходимся по каждой карточке в нашем каталоге
|
||||
foreach (FurnitureItemSO item in items)
|
||||
{
|
||||
if (item == null) continue; // Защита от пустых слотов в инспекторе
|
||||
|
||||
// Создаем новую кнопку внутри contentPanel
|
||||
GameObject newButton = Instantiate(buttonTemplate, contentPanel);
|
||||
|
||||
// 2. Находим компонент Image на этой кнопке и меняем картинку на нашу иконку
|
||||
newButton.GetComponent<Image>().sprite = item.icon;
|
||||
// Находим компонент Image на этой кнопке и применяем иконку из SO
|
||||
Image btnImage = newButton.GetComponent<Image>();
|
||||
if (btnImage != null && item.catalogIcon != null)
|
||||
{
|
||||
btnImage.sprite = item.catalogIcon;
|
||||
}
|
||||
|
||||
// 3. Находим компонент Button, чтобы настроить клик
|
||||
// Настраиваем действие при нажатии на кнопку
|
||||
Button btn = newButton.GetComponent<Button>();
|
||||
|
||||
// Сохраняем префаб в локальную переменную (это важно для правильной работы кода)
|
||||
GameObject prefabToSelect = item.prefab;
|
||||
|
||||
// 4. Программно добавляем действие при клике (то же самое, что плюсик в инспекторе)
|
||||
// Мы вызываем метод из вашего прошлого скрипта!
|
||||
btn.onClick.AddListener(() => builder.SelectFurnitureAndCloseShop(prefabToSelect));
|
||||
if (btn != null)
|
||||
{
|
||||
// Важно: создаем локальную переменную для передачи в событие (замыкание)
|
||||
FurnitureItemSO itemToSelect = item;
|
||||
|
||||
// При клике передаем нашу карточку товара прямо в контроллер строительства
|
||||
btn.onClick.AddListener(() =>
|
||||
{
|
||||
builder.SelectFurnitureAndCloseShop(itemToSelect);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
// ==========================================
|
||||
// МАГИЯ ДЛЯ АВТО-ЗАПОЛНЕНИЯ СПИСКА
|
||||
// ==========================================
|
||||
|
||||
// Этот атрибут создает кнопку в контекстном меню скрипта
|
||||
[ContextMenu("Найти всю мебель в проекте")]
|
||||
private void FindAllFurnitureInProject()
|
||||
{
|
||||
// Этот код выполняется ТОЛЬКО в редакторе Unity, в саму игру на телефон он не попадет
|
||||
#if UNITY_EDITOR
|
||||
// 1. Очищаем старый список
|
||||
items.Clear();
|
||||
|
||||
// 2. Ищем ВСЕ файлы типа FurnitureItemSO во всех папках проекта
|
||||
string[] guids = UnityEditor.AssetDatabase.FindAssets("t:FurnitureItemSO");
|
||||
|
||||
foreach (string guid in guids)
|
||||
{
|
||||
// Узнаем путь к файлу
|
||||
string path = UnityEditor.AssetDatabase.GUIDToAssetPath(guid);
|
||||
|
||||
// Загружаем файл и добавляем в список
|
||||
FurnitureItemSO item = UnityEditor.AssetDatabase.LoadAssetAtPath<FurnitureItemSO>(path);
|
||||
if (item != null)
|
||||
{
|
||||
items.Add(item);
|
||||
}
|
||||
}
|
||||
|
||||
// 3. Говорим Unity сохранить изменения в скрипте (чтобы список не сбросился)
|
||||
UnityEditor.EditorUtility.SetDirty(this);
|
||||
|
||||
Debug.Log($"<color=green>Автоматически найдено и добавлено предметов: {items.Count}</color>");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user