Class AnalyzerUtility
Provides utility methods for opening analyzer windows and performing analysis operations.
Inherited Members
Namespace: UnityEditor.U2D.Tooling.Analyzer
Assembly: Unity.2D.Tooling.Editor.dll
Syntax
public class AnalyzerUtility
Methods
OpenWindowAndAnalyze(string[])
Opens a new analyzer window and performs analysis on the specified paths.
Declaration
public static Task<EditorWindow> OpenWindowAndAnalyze(string[] path)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | path | An array of file or directory paths to analyze. |
Returns
| Type | Description |
|---|---|
| Task<EditorWindow> | A task that represents the asynchronous operation. The task result contains instance that provides access to the analysis results. |