Fungal genes that mostly encode TRANSCRIPTION FACTORS. In some FUNGI they also encode PHEROMONES and PHEROMONE RECEPTORS. The transcription factors control expression of specific proteins that give a cell its mating identity. Opposite mating type identities are required for mating