mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-30 13:07:10 +01:00
I Think i Fixed Everyting
This commit is contained in:
@@ -35,7 +35,7 @@ public class PlayerMouseLook : NetworkBehaviour
|
||||
{
|
||||
controller = GetComponent<CharacterController>();
|
||||
|
||||
playerCamera.gameObject.SetActive(true);
|
||||
playerCamera.GetComponent<Camera>().enabled = true;
|
||||
neckLength = Vector3.Distance(playerNeck.position,playerCamera.position);
|
||||
|
||||
if (lockCursor)
|
||||
@@ -52,7 +52,7 @@ public class PlayerMouseLook : NetworkBehaviour
|
||||
{
|
||||
UpdateMouseLook();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void UpdateMouseLook()
|
||||
|
||||
Reference in New Issue
Block a user