this is the idea, but this will teleport your game object instead of make it move.
many solutions : - you can use Rigidbody.AddForce(float force) until a specific height.
-You can start a coroutine which will move the object with Mathf.Lerp
-You can also take a look at the effectors.
I would suggest you to watch the tutorials on the unity site here for scripting and here for physics.