mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
disable old player code
This commit is contained in:
parent
2b3d8a5583
commit
db0d799f73
@ -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;
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user