浏览代码

Fixed null reference exception.

/2018.1
Felipe Lira 7 年前
当前提交
f07aad83
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      ScriptableRenderPipeline/LightweightPipeline/LWRP/Data/LightweightPipelineAsset.cs

2
ScriptableRenderPipeline/LightweightPipeline/LWRP/Data/LightweightPipelineAsset.cs


private Material GetMaterial(DefaultMaterialType materialType)
{
#if UNITY_EDITOR
if (editorResources == null)
return null;
switch (materialType)
{

正在加载...
取消
保存