文档

Unity Engine

Unity Engine

TryGet(Type, out IRenderPipelineGraphicsSettings)

Looks for a IRenderPipelineGraphicsSettings interface in this instance of the RenderPipelineGlobalSettings asset and returns true if it's found.
阅读时间1 分钟最后更新于 1 个月前

Definition

TryGet(Type, IRenderPipelineGraphicsSettings)

protected bool TryGet(Type type, out IRenderPipelineGraphicsSettings settings)

Parameters

type

The type of the IRenderPipelineGraphicsSettings interface to search for.

Returns

Type

Description

boolTrue if the IRenderPipelineGraphicsSettings instance is found.