chore : re added spatial audio component on players prefab

This commit is contained in:
Hugo Le Bolloc'h
2026-05-26 12:46:32 +02:00
parent f4c3c67a06
commit cb95d0fdc4
2 changed files with 96 additions and 6 deletions
+81 -3
View File
@@ -46,6 +46,10 @@ GameObject:
- component: {fileID: 522399111239992785} - component: {fileID: 522399111239992785}
- component: {fileID: 9197788650853038383} - component: {fileID: 9197788650853038383}
- component: {fileID: 7467899538166521570} - component: {fileID: 7467899538166521570}
- component: {fileID: 4479918178055018832}
- component: {fileID: 2450754982288114483}
- component: {fileID: 1650715703449607419}
- component: {fileID: 961202911501545142}
m_Layer: 0 m_Layer: 0
m_Name: Camera Player m_Name: Camera Player
m_TagString: MainCamera m_TagString: MainCamera
@@ -228,6 +232,81 @@ MonoBehaviour:
bOverrideScalingFactor: 0 bOverrideScalingFactor: 0
scalingFactor: -1 scalingFactor: -1
listenerId: 0 listenerId: 0
--- !u!114 &4479918178055018832
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2101508725665932610}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ac293711562f7704c9688ef699a612f3, type: 3}
m_Name:
m_EditorClassIdentifier: AK.Wwise.Unity.MonoBehaviour::AkRoomAwareObject
m_Collider: {fileID: 0}
--- !u!114 &2450754982288114483
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2101508725665932610}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 976062e6c0f8cb944ad0f941852ec198, type: 3}
m_Name:
m_EditorClassIdentifier: AK.Wwise.Unity.MonoBehaviour::AkSpatialAudioListener
--- !u!54 &1650715703449607419
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2101508725665932610}
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: 0
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!136 &961202911501545142
CapsuleCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2101508725665932610}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.5
m_Height: 1
m_Direction: 1
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &2277482252851742510 --- !u!1 &2277482252851742510
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -463,14 +542,13 @@ MonoBehaviour:
_settings: _settings:
Mode: 0 Mode: 0
Orientation: 1 Orientation: 1
AllowMove: 1
AllowLook: 1
WalkSpeed: 10 WalkSpeed: 10
RunSpeed: 20 RunSpeed: 20
JumpDuration: 0.4 JumpDuration: 0.4
JumpHeight: 0.4 JumpHeight: 0.4
StepHeight: 0.3
Gravity: 9.8 Gravity: 9.8
CanJump: 1
CanRun: 1
_mapping: _mapping:
MoveAction: -560403583 MoveAction: -560403583
LookAction: -916633937 LookAction: -916633937
@@ -17,6 +17,7 @@ GameObject:
- component: {fileID: 2242241179127902993} - component: {fileID: 2242241179127902993}
- component: {fileID: 6578902307436344113} - component: {fileID: 6578902307436344113}
- component: {fileID: 2963135821278175517} - component: {fileID: 2963135821278175517}
- component: {fileID: 1050349503168033948}
m_Layer: 0 m_Layer: 0
m_Name: Camera Player m_Name: Camera Player
m_TagString: MainCamera m_TagString: MainCamera
@@ -245,6 +246,18 @@ CapsuleCollider:
m_Height: 1 m_Height: 1
m_Direction: 1 m_Direction: 1
m_Center: {x: 0, y: 0, z: 0} m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &1050349503168033948
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2101508725665932610}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 976062e6c0f8cb944ad0f941852ec198, type: 3}
m_Name:
m_EditorClassIdentifier: AK.Wwise.Unity.MonoBehaviour::AkSpatialAudioListener
--- !u!1 &8162540767767967414 --- !u!1 &8162540767767967414
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -330,14 +343,13 @@ MonoBehaviour:
_settings: _settings:
Mode: 0 Mode: 0
Orientation: 1 Orientation: 1
AllowMove: 1
AllowLook: 1
WalkSpeed: 10 WalkSpeed: 10
RunSpeed: 20 RunSpeed: 20
JumpDuration: 0.5 JumpDuration: 0.5
JumpHeight: 0.8 JumpHeight: 0.8
StepHeight: 0.3
Gravity: 9.8 Gravity: 9.8
CanJump: 1
CanRun: 1
_mapping: _mapping:
MoveAction: -560403583 MoveAction: -560403583
LookAction: -916633937 LookAction: -916633937