// Update is called once per frame private void Update() { Vector2 move = _controller.GetMove() * _character.Attribute.Speed * Time.deltaTime; move.y = _rgbd.velocity.y; _rgbd.velocity = move; if (_rgbd.velocity.y == 0 && _controller.IsJump()) { _rgbd.AddForce(Vector2.up * _character.Attribute.JumpForce); } if (move != Vector2.zero) { _lookDir = move; } }