Skip to content
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,16 @@ PrefabInstance:
propertyPath: m_GameObjectRolesMask
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
- target: {fileID: 4074790896732394817, guid: a1a802ecaf6775746bb2a929fb554ad8, type: 3}
propertyPath: m_GameObjectRolesMask
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4074790896732394817, guid: a1a802ecaf6775746bb2a929fb554ad8, type: 3}
propertyPath: m_ComponentsRolesMasks.Array.data[0].m_Object
value:
objectReference: {fileID: 0}
m_RemovedComponents: [{fileID: 2070925441746177913, guid: a1a802ecaf6775746bb2a929fb554ad8, type: 3},
{fileID: 3125594499909882602, guid: a1a802ecaf6775746bb2a929fb554ad8, type: 3}]
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
Expand Down Expand Up @@ -521,19 +530,19 @@ PrefabInstance:
value: 4
objectReference: {fileID: 0}
- target: {fileID: 8188383779474413381, guid: 0dff047fe330e3947b10253ba41de7eb, type: 3}
propertyPath: 'm_Patrols.Array.data[0]'
propertyPath: m_Patrols.Array.data[0]
value:
objectReference: {fileID: 1611378409}
- target: {fileID: 8188383779474413381, guid: 0dff047fe330e3947b10253ba41de7eb, type: 3}
propertyPath: 'm_Patrols.Array.data[1]'
propertyPath: m_Patrols.Array.data[1]
value:
objectReference: {fileID: 1611378408}
- target: {fileID: 8188383779474413381, guid: 0dff047fe330e3947b10253ba41de7eb, type: 3}
propertyPath: 'm_Patrols.Array.data[2]'
propertyPath: m_Patrols.Array.data[2]
value:
objectReference: {fileID: 1611378407}
- target: {fileID: 8188383779474413381, guid: 0dff047fe330e3947b10253ba41de7eb, type: 3}
propertyPath: 'm_Patrols.Array.data[3]'
propertyPath: m_Patrols.Array.data[3]
value:
objectReference: {fileID: 1611378406}
m_RemovedComponents: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 12
serializedVersion: 13
m_BakeOnSceneLoad: 0
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using Cinemachine;
using Unity.Cinemachine;
using StarterAssets;
using UnityEngine;
using UnityEngine.InputSystem;
Expand Down Expand Up @@ -71,8 +71,8 @@ void OnNetworkSpawn()
// position on owning clients
m_CharacterController.enabled = true;

var cinemachineVirtualCamera = FindFirstObjectByType<CinemachineVirtualCamera>();
cinemachineVirtualCamera.Follow = m_CameraFollow;
var cinemachineCamera = FindFirstObjectByType<CinemachineCamera>();
cinemachineCamera.Follow = m_CameraFollow;

GameApplication.Instance.Model.PlayerCharacter = this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"Unity.Services.Core.Environments",
"Unity.Networking.Transport",
"com.unity.sample.dedicated-server.shared",
"Cinemachine",
"Unity.Cinemachine",
"Unity.Multiplayer.Samples.Utilities.ClientAuthority",
"Unity.InputSystem",
"StarterAssets",
Expand Down
Loading