disable old player code

This commit is contained in:
mischa 2023-12-13 16:32:29 +01:00
parent 2b3d8a5583
commit db0d799f73

View File

@ -4,6 +4,7 @@ namespace Mirror.Examples.Shooter
{ {
public class Player : NetworkBehaviour public class Player : NetworkBehaviour
{ {
/*
[Header("Camera")] [Header("Camera")]
public Transform cameraMount; public Transform cameraMount;
Vector3 initialCameraPosition; Vector3 initialCameraPosition;
@ -35,6 +36,6 @@ public override void OnStopLocalPlayer()
cam.transform.SetParent(null, true); cam.transform.SetParent(null, true);
cam.transform.position = initialCameraPosition; cam.transform.position = initialCameraPosition;
cam.transform.rotation = initialCameraRotation; cam.transform.rotation = initialCameraRotation;
} }*/
} }
} }