How to zoom and move the orthographic camera with a mouse?

What I did was I copied the the orthographic code and created a new code file, are you saying I’m not supposed to attach it to a camera component? It doesn’t let me change the default orthographic code.