Encystment is usually triggered by changes in the environment. How do you think protists perceive…

Encystment is usually triggered by changes in the environment. How do you think protists perceive these changes? How might this be similar or different from endospore formation in gram-positive bacteria?