public Material[] hemispheres;
RenderSettings.skybox = hemispheres[1];//更换天空盒材质
RenderSettings.skybox.SetColor("_TopColor",colors[0,0]);//更换天空盒材质的颜色
public Material[] hemispheres;
RenderSettings.skybox = hemispheres[1];//更换天空盒材质
RenderSettings.skybox.SetColor("_TopColor",colors[0,0]);//更换天空盒材质的颜色
本文标题:Unity更换天空盒
本文链接:https://www.haomeiwen.com/subject/ieazrctx.html
网友评论