private void Start() { controlMap = new ControlMap(); controlMap.Enable(); controlMap.Player.Jump.performed += ctx => print("pogo pogo pogo"); }
private void Awake() { cam = GetComponentInChildren <Camera>().transform; pivot = transform.GetChild(0); map = new ControlMap(); map.Enable(); controller = GetComponent <CharacterController>(); //Cursor.lockState = CursorLockMode.Locked; Cursor.visible = false; print("say my name"); }