Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OpenAndScrollTo

Call a method to open GraphicsSettings page and scroll to specified property.
Read time 1 minuteLast updated 25 days ago

Definition

OpenAndScrollTo(string)

Call a method to open GraphicsSettings page and scroll to specified property.
public static void OpenAndScrollTo(string propertyPath)

Parameters

propertyPath

Provide a property path from SerializedProperty.propertyPath.

OpenAndScrollTo(Type)

Call a method to open GraphicsSettings page and scroll to specified property.
public static void OpenAndScrollTo(Type renderPipelineGraphicsSettingsType)

Parameters

renderPipelineGraphicsSettingsType

Provide a
Type
derived from IRenderPipelineGraphicsSettings.

OpenAndScrollTo<T>(string)

Call a method to open GraphicsSettings page and scroll to specified property.
public static void OpenAndScrollTo<TGraphicsSettings>(string propertyPath = "") where TGraphicsSettings : IRenderPipelineGraphicsSettings

Parameters

propertyPath

Provide a property path from SerializedProperty.propertyPath.

OpenAndScrollTo<T, U>(Func<T, bool>)

Call a method to open GraphicsSettings page and scroll to specified property.
public static void OpenAndScrollTo<TGraphicsSettings, TVisualElement>(Func<TVisualElement, bool> subElementFunc = null) where TGraphicsSettings : IRenderPipelineGraphicsSettings where TVisualElement : VisualElement

Parameters

subElementFunc

Provide a method to choose a subElement of the provided IRenderPipelineGraphicsSettings type.