Implement switching between solo and multiplayer rig seamlessly

This commit is contained in:
2024-08-26 16:57:11 +02:00
parent c71f2023df
commit 1edc7850bd
4 changed files with 130 additions and 42 deletions

View File

@@ -44,5 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d357a0b6e2db94a4aadef95ef4fff758, type: 3}
m_Name:
m_EditorClassIdentifier:
playerPrefab: {fileID: 75161255762383020, guid: 1ef3259331ddc1f4d94b628323ec45f3,
type: 3}
soloRig: {fileID: 0}
multiplayerRig: {fileID: 0}
networkManager: {fileID: 0}
autoConnectOrHost: 0

View File

@@ -23,6 +23,11 @@ PrefabInstance:
propertyPath: SocketContainer
value:
objectReference: {fileID: 2827553962429515486}
- target: {fileID: 3822188217954140599, guid: 6974999791dc8804fafee05e319aa932,
type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3924027509722682562, guid: 6974999791dc8804fafee05e319aa932,
type: 3}
propertyPath: m_Name
@@ -335,8 +340,8 @@ MonoBehaviour:
teleporter: {fileID: 1079194777950654091}
controller: {fileID: 75161257133195801}
characterController: {fileID: 75161257133195802}
audioListener: {fileID: 177002782121805273}
fadeDuration: 2
gameManager: {fileID: 0}
--- !u!1 &75161257133195781 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 3924027509007222379, guid: 6974999791dc8804fafee05e319aa932,
@@ -442,6 +447,12 @@ MonoBehaviour:
m_MipBias: 0
m_VarianceClampScale: 0.9
m_ContrastAdaptiveSharpening: 0
--- !u!81 &177002782121805273 stripped
AudioListener:
m_CorrespondingSourceObject: {fileID: 3822188217954140599, guid: 6974999791dc8804fafee05e319aa932,
type: 3}
m_PrefabInstance: {fileID: 3999184345544213614}
m_PrefabAsset: {fileID: 0}
--- !u!114 &514016263233289054 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 3485174680740724528, guid: 6974999791dc8804fafee05e319aa932,