private void Update() { if (!Manager.instance.fullStop) { //mouseController(); } if (!Manager.instance.fullStop) { // move3d(); inputs = new Vector3(InputControl.instance.getAxisControl().x, 0, InputControl.instance.getAxisControl().y); if (playerMove!=null) { checkers.isTraspasable(); playerMove.setInput(inputs); playerMove.aplyGravity(); playerMove.PlayerMovement(); playerMove.calculateDir(); playerMove.rotate(); jumpControl.JumpInput(); dashControl.inputDash(); } } }
// Update is called once per frame void Update() { if (!Manager.instance.fullStop) { asix = new Vector3(InputControl.instance.getAxisControl().x, 0, InputControl.instance.getAxisControl().y); playerMove.setInput(asix); playerMove.calculateDir(); playerMove.rotate(); playerMove.PlayerMovement(); jumpControl.JumpInput(); } }