docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DescriptorExtensions

    Additional Descriptor functionality

    Inheritance
    object
    DescriptorExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)