How To Create Buttons

I’m new to Unity, and I’ve taken a simple coding tutorial so I can read and understand coding. I’m having troubles finding how to assign controls to actions, like a simple attack button by clicking the mouse. If someone could please help me out I would be very happy.

You’re looking for the Input scripting reference: