Skip to content

Commit a314b14

Browse files
Patch prefabs for sound upgrades
1 parent 4dd17b1 commit a314b14

File tree

6 files changed

+103
-73
lines changed

6 files changed

+103
-73
lines changed

Assets/Resources/Prefabs/Bumper.prefab

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,11 @@ MonoBehaviour:
5050
m_Script: {fileID: 11500000, guid: 8fbf8908cf17c554ab7afb9da3d6775a, type: 3}
5151
m_Name:
5252
m_EditorClassIdentifier:
53-
_isLocked: 0
5453
_editorLayer: 0
5554
_editorLayerName:
5655
_editorLayerVisibility: 1
57-
Position: {x: 0, y: 0}
5856
Radius: 45
59-
HeightScale: 90
60-
Orientation: 0
61-
_surface: {fileID: 0}
57+
IsHardwired: 1
6258
--- !u!114 &1813312543483188556
6359
MonoBehaviour:
6460
m_ObjectHideFlags: 0
@@ -75,11 +71,11 @@ MonoBehaviour:
7571
ShowColliderMesh: 0
7672
ShowColliderOctree: 0
7773
ShowAabbs: 0
74+
_isKinematic: 0
7875
Threshold: 1
7976
Force: 15
8077
Scatter: 0
8178
HitEvent: 1
82-
_isKinematic: 0
8379
--- !u!114 &-6589036496633353385
8480
MonoBehaviour:
8581
m_ObjectHideFlags: 0
@@ -92,12 +88,14 @@ MonoBehaviour:
9288
m_Script: {fileID: 11500000, guid: b1b4677b6b0e8bc419afb6cd7a22cf3a, type: 3}
9389
m_Name:
9490
m_EditorClassIdentifier:
95-
_soundAsset: {fileID: 11400000, guid: 02a8bdb34c86f49488fbcbfcf58a0773, type: 2}
96-
_interrupt: 0
97-
_volume: 1
98-
_startWhen: 0
99-
_stopWhen: 0
100-
_coilName: Bumper
91+
SoundAsset: {fileID: 11400000, guid: 02a8bdb34c86f49488fbcbfcf58a0773, type: 2}
92+
MultiPlayMode: 0
93+
Volume: 1
94+
Priority: 2
95+
CalloutMaxQueueTime: -1
96+
StartWhen: 0
97+
StopWhen: 0
98+
CoilName: ring_coil
10199
--- !u!1 &2782857395794746971
102100
GameObject:
103101
m_ObjectHideFlags: 0
@@ -156,6 +154,9 @@ MeshRenderer:
156154
m_ReflectionProbeUsage: 1
157155
m_RayTracingMode: 2
158156
m_RayTraceProcedural: 0
157+
m_RayTracingAccelStructBuildFlagsOverride: 0
158+
m_RayTracingAccelStructBuildFlags: 1
159+
m_SmallMeshCulling: 1
159160
m_RenderingLayerMask: 257
160161
m_RendererPriority: 0
161162
m_Materials:
@@ -254,6 +255,9 @@ MeshRenderer:
254255
m_ReflectionProbeUsage: 1
255256
m_RayTracingMode: 2
256257
m_RayTraceProcedural: 0
258+
m_RayTracingAccelStructBuildFlagsOverride: 0
259+
m_RayTracingAccelStructBuildFlags: 1
260+
m_SmallMeshCulling: 1
257261
m_RenderingLayerMask: 257
258262
m_RendererPriority: 0
259263
m_Materials:
@@ -325,6 +329,7 @@ MonoBehaviour:
325329
m_Script: {fileID: 11500000, guid: bd0d18debfb7e9d4f96b044b58b0e9b9, type: 3}
326330
m_Name:
327331
m_EditorClassIdentifier:
332+
duration: 0.1
328333
--- !u!33 &4793535054648316060
329334
MeshFilter:
330335
m_ObjectHideFlags: 0
@@ -350,6 +355,9 @@ MeshRenderer:
350355
m_ReflectionProbeUsage: 1
351356
m_RayTracingMode: 2
352357
m_RayTraceProcedural: 0
358+
m_RayTracingAccelStructBuildFlagsOverride: 0
359+
m_RayTracingAccelStructBuildFlags: 1
360+
m_SmallMeshCulling: 1
353361
m_RenderingLayerMask: 257
354362
m_RendererPriority: 0
355363
m_Materials:
@@ -433,6 +441,9 @@ MeshRenderer:
433441
m_ReflectionProbeUsage: 1
434442
m_RayTracingMode: 2
435443
m_RayTraceProcedural: 0
444+
m_RayTracingAccelStructBuildFlagsOverride: 0
445+
m_RayTracingAccelStructBuildFlags: 1
446+
m_SmallMeshCulling: 1
436447
m_RenderingLayerMask: 257
437448
m_RendererPriority: 0
438449
m_Materials:

Assets/Resources/Prefabs/Flipper.prefab

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,10 @@ MonoBehaviour:
156156
m_Script: {fileID: 11500000, guid: 545ad741f74d2444faf5d2882fba6b69, type: 3}
157157
m_Name:
158158
m_EditorClassIdentifier:
159-
_isLocked: 0
160159
_editorLayer: 0
161160
_editorLayerName:
162161
_editorLayerVisibility: 1
163-
Position: {x: 0, y: 0}
164-
_startAngle: 121
165162
EndAngle: 70
166-
_surface: {fileID: 0}
167163
IsEnabled: 1
168164
IsDualWound: 0
169165
_height: 50
@@ -192,6 +188,7 @@ MonoBehaviour:
192188
ShowColliderMesh: 1
193189
ShowColliderOctree: 0
194190
ShowAabbs: 0
191+
_isKinematic: 0
195192
Mass: 1
196193
Strength: 2200
197194
Elasticity: 0.8
@@ -232,9 +229,11 @@ MonoBehaviour:
232229
m_Script: {fileID: 11500000, guid: b1b4677b6b0e8bc419afb6cd7a22cf3a, type: 3}
233230
m_Name:
234231
m_EditorClassIdentifier:
235-
_soundAsset: {fileID: 11400000, guid: e410f0a19022a1a49b7a2dd9226ae7d1, type: 2}
236-
_interrupt: 0
237-
_volume: 1
238-
_startWhen: 0
239-
_stopWhen: 0
240-
_coilName: main_coil
232+
SoundAsset: {fileID: 11400000, guid: e410f0a19022a1a49b7a2dd9226ae7d1, type: 2}
233+
MultiPlayMode: 0
234+
Volume: 1
235+
Priority: 2
236+
CalloutMaxQueueTime: -1
237+
StartWhen: 0
238+
StopWhen: 0
239+
CoilName: main_coil

Assets/Resources/Prefabs/Gate.prefab

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,10 @@ MonoBehaviour:
4848
m_Script: {fileID: 11500000, guid: d975b3eb6ff5d434e8e9f7cd282fa881, type: 3}
4949
m_Name:
5050
m_EditorClassIdentifier:
51-
_isLocked: 0
5251
_editorLayer: 0
5352
_editorLayerName:
5453
_editorLayerVisibility: 1
55-
Position: {x: 0, y: 0, z: 0}
56-
_rotation: 0
5754
_length: 100
58-
_surface: {fileID: 0}
5955
_type: 0
6056
_meshName:
6157
--- !u!114 &3496935618586042827
@@ -74,8 +70,11 @@ MonoBehaviour:
7470
ShowColliderMesh: 0
7571
ShowColliderOctree: 0
7672
ShowAabbs: 0
73+
_isKinematic: 0
7774
_angleMax: 90
7875
_angleMin: 0
76+
ZLow: -50
77+
Distance: 0
7978
Damping: 0.985
8079
Elasticity: 0.3
8180
Friction: 0.02
@@ -93,12 +92,14 @@ MonoBehaviour:
9392
m_Script: {fileID: 11500000, guid: 8636086609386b04ea0fb6c9091f243b, type: 3}
9493
m_Name:
9594
m_EditorClassIdentifier:
96-
_soundAsset: {fileID: 11400000, guid: 4a2249d0e5085344b92c6c998b2f3b97, type: 2}
97-
_interrupt: 0
98-
_volume: 1
99-
_startWhen: 0
100-
_stopWhen: 0
101-
_switchName: gate_switch
95+
SoundAsset: {fileID: 11400000, guid: 637e47dbe455b3c489cd6e180e285cf1, type: 2}
96+
MultiPlayMode: 0
97+
Volume: 1
98+
Priority: 2
99+
CalloutMaxQueueTime: -1
100+
StartWhen: 0
101+
StopWhen: 0
102+
SwitchName: gate_switch
102103
--- !u!1 &6497995796854627700
103104
GameObject:
104105
m_ObjectHideFlags: 0
@@ -157,6 +158,9 @@ MeshRenderer:
157158
m_ReflectionProbeUsage: 1
158159
m_RayTracingMode: 2
159160
m_RayTraceProcedural: 0
161+
m_RayTracingAccelStructBuildFlagsOverride: 0
162+
m_RayTracingAccelStructBuildFlags: 1
163+
m_SmallMeshCulling: 1
160164
m_RenderingLayerMask: 257
161165
m_RendererPriority: 0
162166
m_Materials:
@@ -228,6 +232,8 @@ MonoBehaviour:
228232
m_Script: {fileID: 11500000, guid: a3246946b24b0f940b90770737255e03, type: 3}
229233
m_Name:
230234
m_EditorClassIdentifier:
235+
min: 3.4028235e+38
236+
max: -3.4028235e+38
231237
--- !u!33 &7906856659845120077
232238
MeshFilter:
233239
m_ObjectHideFlags: 0
@@ -253,6 +259,9 @@ MeshRenderer:
253259
m_ReflectionProbeUsage: 1
254260
m_RayTracingMode: 2
255261
m_RayTraceProcedural: 0
262+
m_RayTracingAccelStructBuildFlagsOverride: 0
263+
m_RayTracingAccelStructBuildFlags: 1
264+
m_SmallMeshCulling: 1
256265
m_RenderingLayerMask: 257
257266
m_RendererPriority: 0
258267
m_Materials:

Assets/Resources/Prefabs/Plunger.prefab

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,11 @@ MonoBehaviour:
5050
m_Script: {fileID: 11500000, guid: c1591b5a0bc15604fb622d417b509185, type: 3}
5151
m_Name:
5252
m_EditorClassIdentifier:
53-
_isLocked: 0
5453
_editorLayer: 0
5554
_editorLayerName:
5655
_editorLayerVisibility: 1
57-
Position: {x: 0, y: 0}
5856
Width: 25
5957
Height: 20
60-
ZAdjust: 0
61-
_surface: {fileID: 0}
6258
analogPlungerAction: {fileID: 0}
6359
--- !u!114 &4360165373544367127
6460
MonoBehaviour:
@@ -76,6 +72,7 @@ MonoBehaviour:
7672
ShowColliderMesh: 1
7773
ShowColliderOctree: 0
7874
ShowAabbs: 0
75+
_isKinematic: 0
7976
SpeedPull: 0.5
8077
SpeedFire: 80
8178
Stroke: 80
@@ -97,12 +94,14 @@ MonoBehaviour:
9794
m_Script: {fileID: 11500000, guid: b1b4677b6b0e8bc419afb6cd7a22cf3a, type: 3}
9895
m_Name:
9996
m_EditorClassIdentifier:
100-
_soundAsset: {fileID: 11400000, guid: 29e4e44178845b941a136cf944a6b484, type: 2}
101-
_interrupt: 0
102-
_volume: 1
103-
_startWhen: 0
104-
_stopWhen: 0
105-
_coilName: c_pull
97+
SoundAsset: {fileID: 11400000, guid: 29e4e44178845b941a136cf944a6b484, type: 2}
98+
MultiPlayMode: 3
99+
Volume: 1
100+
Priority: 2
101+
CalloutMaxQueueTime: -1
102+
StartWhen: 0
103+
StopWhen: 0
104+
CoilName: c_pull
106105
--- !u!114 &6875191637992584632
107106
MonoBehaviour:
108107
m_ObjectHideFlags: 0
@@ -115,12 +114,14 @@ MonoBehaviour:
115114
m_Script: {fileID: 11500000, guid: b1b4677b6b0e8bc419afb6cd7a22cf3a, type: 3}
116115
m_Name:
117116
m_EditorClassIdentifier:
118-
_soundAsset: {fileID: 11400000, guid: 1db86f03e09f46740a32096157585e5d, type: 2}
119-
_interrupt: 0
120-
_volume: 1
121-
_startWhen: 1
122-
_stopWhen: 0
123-
_coilName: c_pull
117+
SoundAsset: {fileID: 11400000, guid: 1db86f03e09f46740a32096157585e5d, type: 2}
118+
MultiPlayMode: 3
119+
Volume: 1
120+
Priority: 2
121+
CalloutMaxQueueTime: -1
122+
StartWhen: 0
123+
StopWhen: 0
124+
CoilName: c_autofire
124125
--- !u!114 &8198728604523717435
125126
MonoBehaviour:
126127
m_ObjectHideFlags: 0
@@ -133,12 +134,14 @@ MonoBehaviour:
133134
m_Script: {fileID: 11500000, guid: b1b4677b6b0e8bc419afb6cd7a22cf3a, type: 3}
134135
m_Name:
135136
m_EditorClassIdentifier:
136-
_soundAsset: {fileID: 11400000, guid: 1db86f03e09f46740a32096157585e5d, type: 2}
137-
_interrupt: 0
138-
_volume: 1
139-
_startWhen: 0
140-
_stopWhen: 0
141-
_coilName: c_autofire
137+
SoundAsset: {fileID: 11400000, guid: 1db86f03e09f46740a32096157585e5d, type: 2}
138+
MultiPlayMode: 3
139+
Volume: 1
140+
Priority: 2
141+
CalloutMaxQueueTime: -1
142+
StartWhen: 1
143+
StopWhen: 0
144+
CoilName: c_pull
142145
--- !u!1 &3501041183407321805
143146
GameObject:
144147
m_ObjectHideFlags: 0

Assets/Resources/Prefabs/Slingshot.prefab

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ MeshRenderer:
114114
m_ReflectionProbeUsage: 1
115115
m_RayTracingMode: 2
116116
m_RayTraceProcedural: 0
117+
m_RayTracingAccelStructBuildFlagsOverride: 0
118+
m_RayTracingAccelStructBuildFlags: 1
119+
m_SmallMeshCulling: 1
117120
m_RenderingLayerMask: 257
118121
m_RendererPriority: 0
119122
m_Materials:
@@ -151,9 +154,11 @@ MonoBehaviour:
151154
m_Script: {fileID: 11500000, guid: 8636086609386b04ea0fb6c9091f243b, type: 3}
152155
m_Name:
153156
m_EditorClassIdentifier:
154-
_soundAsset: {fileID: 11400000, guid: a13a0ebac95142a4d838dddbb8fbe85e, type: 2}
155-
_interrupt: 0
156-
_volume: 1
157-
_startWhen: 0
158-
_stopWhen: 0
159-
_switchName: slingshot_switch
157+
SoundAsset: {fileID: 11400000, guid: a13a0ebac95142a4d838dddbb8fbe85e, type: 2}
158+
MultiPlayMode: 0
159+
Volume: 1
160+
Priority: 2
161+
CalloutMaxQueueTime: -1
162+
StartWhen: 0
163+
StopWhen: 0
164+
SwitchName: slingshot_switch

Assets/Resources/Prefabs/Trough.prefab

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ MonoBehaviour:
4646
m_Script: {fileID: 11500000, guid: 426f115d8fbd6914bb7c67e1cc410097, type: 3}
4747
m_Name:
4848
m_EditorClassIdentifier:
49-
_isLocked: 0
5049
_editorLayer: 0
5150
_editorLayerName:
5251
_editorLayerVisibility: 1
@@ -74,12 +73,14 @@ MonoBehaviour:
7473
m_Script: {fileID: 11500000, guid: 8636086609386b04ea0fb6c9091f243b, type: 3}
7574
m_Name:
7675
m_EditorClassIdentifier:
77-
_soundAsset: {fileID: 11400000, guid: 249faf8343847964c8a56371a8c737b1, type: 2}
78-
_interrupt: 0
79-
_volume: 1
80-
_startWhen: 0
81-
_stopWhen: 0
82-
_switchName: ball_switch_6
76+
SoundAsset: {fileID: 11400000, guid: 249faf8343847964c8a56371a8c737b1, type: 2}
77+
MultiPlayMode: 0
78+
Volume: 1
79+
Priority: 2
80+
CalloutMaxQueueTime: -1
81+
StartWhen: 0
82+
StopWhen: 0
83+
SwitchName: ball_switch_1
8384
--- !u!114 &2596899900856616474
8485
MonoBehaviour:
8586
m_ObjectHideFlags: 0
@@ -92,9 +93,11 @@ MonoBehaviour:
9293
m_Script: {fileID: 11500000, guid: b1b4677b6b0e8bc419afb6cd7a22cf3a, type: 3}
9394
m_Name:
9495
m_EditorClassIdentifier:
95-
_soundAsset: {fileID: 11400000, guid: 793216df1889fdd4e93ea22639af1b78, type: 2}
96-
_interrupt: 0
97-
_volume: 1
98-
_startWhen: 0
99-
_stopWhen: 0
100-
_coilName: eject_coil
96+
SoundAsset: {fileID: 11400000, guid: 793216df1889fdd4e93ea22639af1b78, type: 2}
97+
MultiPlayMode: 0
98+
Volume: 1
99+
Priority: 2
100+
CalloutMaxQueueTime: -1
101+
StartWhen: 0
102+
StopWhen: 0
103+
CoilName: eject_coil

0 commit comments

Comments
 (0)