ドキュメント

Unity Engine

Unity Engine

TryGetFirstSettingsImplementingInterface<TSettingsInterfaceType>(out TSettingsInterfaceType)

Try to get the first settings that implements TSettingsInterfaceType.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

TryGetFirstSettingsImplementingInterface<T>(T)

protected bool TryGetFirstSettingsImplementingInterface<TSettingsInterfaceType>(out TSettingsInterfaceType settings) where TSettingsInterfaceType : class, IRenderPipelineGraphicsSettings

Parameters

settings

T
Get the first settings for the currently active pipeline that implements
TSettingsInterfaceType
, or
null
if none were found.

Returns

Type

Description

boolReturns true if a setting of type
TSettingsInterfaceType
were found, false otherwise.