浏览代码

Fix warning of LW and OnTileRender OnValidate call

/main
sebastienlagarde 7 年前
当前提交
4931ea6f
共有 2 个文件被更改,包括 3 次插入7 次删除
  1. 5
      ScriptableRenderPipeline/LightweightPipeline/LWRP/Data/LightweightPipelineAsset.cs
  2. 5
      TestbedPipelines/OnTileDeferredPipeline/OnTileDeferredRenderPipeline.cs

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


return new LightweightPipeline(this);
}
void OnValidate()
{
DestroyCreatedInstances();
}
private Material GetMaterial(DefaultMaterialType materialType)
{
#if UNITY_EDITOR

5
TestbedPipelines/OnTileDeferredPipeline/OnTileDeferredRenderPipeline.cs


private Material m_BlitMaterial;
private void OnValidate()
protected override void OnValidate()
Build();
base.OnValidate();
Build();
}
public void Cleanup()

正在加载...
取消
保存