feat(scripting): add managed srp base api
This commit is contained in:
@@ -20,10 +20,10 @@ namespace XCEngine
|
||||
set
|
||||
{
|
||||
if (value != null &&
|
||||
!typeof(RenderPipelineAsset).IsAssignableFrom(value))
|
||||
!typeof(ScriptableRenderPipelineAsset).IsAssignableFrom(value))
|
||||
{
|
||||
throw new ArgumentException(
|
||||
"GraphicsSettings.renderPipelineAssetType must derive from RenderPipelineAsset.",
|
||||
"GraphicsSettings.renderPipelineAssetType must derive from ScriptableRenderPipelineAsset.",
|
||||
nameof(value));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user