示例#1
0
        public void Update()
        {
            float delta = Time.deltaTime;

            isSprinting = inputHandler.b_Input;
            inputHandler.TickInput(delta);
            HandleMovement(delta);
            HandleRollingAndSprinting(delta);
        }
示例#2
0
        // Update is called once per frame
        void Update()
        {
            float delta = Time.deltaTime;

            inputHandler.TickInput(delta);

            isInteracting = anim.GetBool("isInteracting");
            playerLocomotion.HandleFalling(delta, playerLocomotion.moveDirection);
        }