The mechanism by which most fungi cause disease is:
Hypersensitivity Diseases 
Humans are continually exposed to air-borne fungal spores and other fungal elements present in the environment. These spores can be antigenic stimulants and depending on individual's immunological status may induce a state of hypersensitivity by production of immunoglobulins or sensitized lymphocytes. Rhinitis, bronchial asthma, alveolitis, and various forms of atopy are the clinical manifestations of hypersensitive pneumonitis. The clinical manifestations of the hypersensitivity disease are seen only in sensitized person, after repeated exposure to the fungus, fungal metabolites, or other cross-reactive materials. Allergies to the fungal spores are manifested primarily by an asthmatic reaction including rapid bronchial constriction mediated by IgE, eosinophilia, and positive hypersensitivity skin test reaction. These are caused due to immediate hypersensitivity reactions of the host to fungal spores. 
Parija SC. Textbook of Microbiology & Immunology. Elsevier Health Sciences; 2014. Page:595
Exotoxin production
Lecithinase production
Hypersensitivity
Coagulase production