From 42906830d441ffcca24fba35264644005048e2ca Mon Sep 17 00:00:00 2001 From: chai <215380520@qq.com> Date: Tue, 16 Apr 2024 17:44:27 +0800 Subject: *misc --- .../Assets/TABG/Scripts/Camera/CameraManager.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ActiveRagdoll/Assets/TABG/Scripts/Camera/CameraManager.cs (limited to 'ActiveRagdoll/Assets/TABG/Scripts/Camera/CameraManager.cs') diff --git a/ActiveRagdoll/Assets/TABG/Scripts/Camera/CameraManager.cs b/ActiveRagdoll/Assets/TABG/Scripts/Camera/CameraManager.cs new file mode 100644 index 0000000..46dc7fd --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Scripts/Camera/CameraManager.cs @@ -0,0 +1,20 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +namespace Rigging +{ + + public class CameraManager : MonoBehaviour + { + // Start is called before the first frame update + void Start() + { + Cursor.lockState = CursorLockMode.Locked; + Cursor.visible = false; + } + + } + + +} \ No newline at end of file -- cgit v1.1-26-g67d0