A university degree is purely an academic qualification although it might be useful if you intend ultimately to aim for airline management.
To actually learn to fly you will need to go to a flight school (but do read the hundreds of posts describing how our profession is generally going downhill before you commit large sums of money).
Best of luck whatever you decide.