Input.GetMouseButton or Input.GetButton

Did this answer your question?