Do I have to learn how to make a model to make a piano that “has” keys?

Well, I want to make a VR piano and I want the keys on the keyboard to act like they are pressed when the correspond key is pressed. The piano should be 3D. Do I have to make a piano without keys first, make black and white keys, then combine them together? Or there is other method to achieve that

If each key should be moving independently of each other, it would make sense to make a model with joints for each key mesh plus a mesh for the piano.

This way your piano model is complete with keys and keys doesn’t have to be assembled further in Unity.

Rotate, translate or animate the key joint to visualize piano key strokes at runtime.