This commit is contained in:
Daniel Tyomin
2024-08-20 03:30:10 +02:00
parent 7c50f1b9a9
commit 15a3d8238f
10 changed files with 2691 additions and 23456 deletions

View File

@@ -19,7 +19,7 @@ namespace KinematicCharacterController.Examples
private void Start()
{
Cursor.lockState = CursorLockMode.Locked;
//Cursor.lockState = CursorLockMode.Locked;
// Tell camera to follow transform
CharacterCamera.SetFollowTransform(Character.CameraFollowPoint);
@@ -31,10 +31,10 @@ namespace KinematicCharacterController.Examples
private void Update()
{
if (Input.GetMouseButtonDown(0))
{
Cursor.lockState = CursorLockMode.Locked;
}
//if (Input.GetMouseButtonDown(0))
//{
// Cursor.lockState = CursorLockMode.Locked;
//}
HandleCharacterInput();
}