OpenAndScrollTo
Call a method to open GraphicsSettings page and scroll to specified property.
Read time 1 minuteLast updated 24 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Inspector.GraphicsSettingsInspectors
- Assembly: UnityEditor.CoreModule
OpenAndScrollTo(string)
Call a method to open GraphicsSettings page and scroll to specified property.
public static void OpenAndScrollTo(string propertyPath)
Parameters
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
Provide a derived from IRenderPipelineGraphicsSettings.
TypeOpenAndScrollTo<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
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
Provide a method to choose a subElement of the provided IRenderPipelineGraphicsSettings type.