// Start is called before the first frame update void Awake() { controlScheme = new HumanControls(); controlScheme.Enable(); angle = transform.eulerAngles; Cursor.lockState = CursorLockMode.Locked; playerLayer = LayerMask.GetMask("Player"); }
// Start is called before the first frame update void Start() { charCon = GetComponent <CharacterController>(); controls = new HumanControls(); controls.Enable(); }