void Move() { if (Input.GetButtonDown("Turn")) { stateMachine.ChangeState((int)PlayerInputStates.TURN); } SetArrowRotation(input); dungeonCharacter.Move(input); }
// Update is called once per frame void Update() { dungeonCharacter.Move(Vector2.up); }