文档

Unity Engine

Unity Engine

UpdateGraphicsSettings(RenderPipelineGlobalSettings, Type)

Updates the RenderPIpelineGlobalSettingsAsset if the given asset is not null or unregisters the asset.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Deprecated. Please use EditorGraphicsSettings.SetRenderPipelineGlobalSettingsAsset(renderPipelineType, newSettings). #from(23.2)
public static void UpdateGraphicsSettings(RenderPipelineGlobalSettings newSettings, Type renderPipelineType)

Parameters

The RenderPipelineGlobalSettings asset to Register or Unregister if it is null.

renderPipelineType

The typeof RenderPipeline.