浏览代码

Fix initialization bug

/Yibing-Project-2
Evgenii Golubev 7 年前
当前提交
8a1d4d6b
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 6
      ScriptableRenderPipeline/HDRenderPipeline/Lighting/Volumetrics/HomogeneousFog.cs

6
ScriptableRenderPipeline/HDRenderPipeline/Lighting/Volumetrics/HomogeneousFog.cs


[AddComponentMenu("Rendering/Homogeneous Fog", -1)]
public class HomogeneousFog : MonoBehaviour
{
public VolumeParameters volumeParameters;
public VolumeParameters volumeParameters = new VolumeParameters();
if (volumeParameters == null)
{
volumeParameters = new VolumeParameters();
}
}
private void OnEnable()

正在加载...
取消
保存