The present invention provides an isolated beta -(1,6)-glucanase obtainable from an edible fungus which has antifungal activity and methods for isolating said protein. The invention also comprises an antifungal composition comprising a beta -(1,6)-glucanase and optionally an osmotin. The invention further comprises a method for producing pathogen resistant plants incorporating chimeric DNA capable of encoding a beta -(1,6)-glucanase and optionally an osmotin, and wherein the proteins are expressed.