Change Landscape Material/Textures at Runtime?

I have done exactly this and it doesn’t work