How to apply 1 material to a whole mesh like a stair

Though it’s still probably better to use static meshes.