How can I jump while moving?

Hello , I just start my unity project for learning purpose . Sorry for my bad English . It’s not my native language . Thank you .

Here’s my code : using UnityEngine;using System.Collections;public class Player : MonoBehav - Pastebin.com

I want my player to jump while moving , it’s make me feel comfortable !

Please help :slight_smile: . Thank a lot