浏览代码

Merge pull request #995 from Unity-Technologies/decal-system-fix2

NPE fix
/main
GitHub 7 年前
当前提交
ea2b54ca
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Decal/DecalSystem.cs

3
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Decal/DecalSystem.cs


public void Cleanup()
{
m_DecalAtlas.Release();
if (m_DecalAtlas != null)
m_DecalAtlas.Release();
CoreUtils.Destroy(m_DecalMesh);
}
}
正在加载...
取消
保存