Class DescriptorExtensions
Additional Descriptor functionality
Inherited Members
Namespace: Unity.ProjectAuditor.Editor.Core
Assembly: Unity.ProjectAuditor.Editor.dll
Syntax
public static class DescriptorExtensions
Methods
IsSupported(Descriptor)
Check if the descriptor is valid for any platform supported by the current Editor and the current Editor version
Declaration
public static bool IsSupported(this Descriptor desc)
Parameters
| Type | Name | Description |
|---|---|---|
| Descriptor | desc | The descriptor to check. |
Returns
| Type | Description |
|---|---|
| bool | True if the descriptor is supported; otherwise, false. |
IsSupported(Descriptor, AnalysisParams)
Check if the descriptor is valid for the target platform specified in AnalysisParams and the current Editor version
Declaration
public static bool IsSupported(this Descriptor desc, AnalysisParams analysisParams)
Parameters
| Type | Name | Description |
|---|---|---|
| Descriptor | desc | The descriptor to check. |
| AnalysisParams | analysisParams | The analysis parameters containing the target platform. |
Returns
| Type | Description |
|---|---|
| bool | True if the descriptor is supported; otherwise, false. |