How may I change the landscape material during game?

For example, I want to change it from desert to grass?

Look up material parameters, that’s what they are for.

Inside your material: place a lerp with your sand in one input, the grass in the other and a scalar parameter in the alpha.

This is not landscape specific and works will all types of materials.

Thank you, Arnage, I will check that out.