Version: 2023.2

GraphicsSettings.isScriptableRenderPipelineEnabled

切换到手册
public static bool isScriptableRenderPipelineEnabled ;

描述

If the value is true, a Scriptable Render Pipeline is active.