Could we have a setting to change the lightmap in the Inspector.?
material.useLightmapAsShadowmap = true;
It shall be done