How to trigger "Vertical Axis" in script? (C#)

Hi Unity,

I have tried all sorts of ways to get my character to move forward via script. My goal is to, when both mouse 1 and mouse 0 are pressed, have him move forward. His input controls are already set up in the player control script, so all I need to do is figure out how to activate the “Vertical Axis” when I press both mouse buttons.

Any suggestions?

if (Network.peerType == NetworkPeerType.Disconnected)
				if (Input.GetMouseButton (0) && Input.GetMouseButton (1)) {

								//Move Forward

Edit: I have tried Input.“Vertical Axis” = 1 and = true, but none of those methods are correct it seems.

transform.position = transform.position + transform.forward;