Class PackageInfoCollectionExtension | Anime Toolbox | 0.4.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class PackageInfoCollectionExtension

    Inheritance
    Object
    PackageInfoCollectionExtension
    Namespace: Unity.AnimeToolbox.Editor
    Syntax
    public static class PackageInfoCollectionExtension

    Methods

    FindPackage(ReadOnlyCollection<PackageInfo>, String)

    Find a package inside a collection of PackageInfo

    Declaration
    public static PackageInfo FindPackage(this ReadOnlyCollection<PackageInfo> packageInfoCollection, string packageName)
    Parameters
    Type Name Description
    ReadOnlyCollection<PackageInfo> packageInfoCollection

    The package collection

    String packageName

    The name of the package to be searched

    Returns
    Type Description
    PackageInfo

    The PackageInfo of the package if found, null otherwise.

    JoinToString(ReadOnlyCollection<PackageInfo>)

    Creates a multi-line description of the packages in the collection.

    Declaration
    public static string JoinToString(this ReadOnlyCollection<PackageInfo> packageInfoCollection)
    Parameters
    Type Name Description
    ReadOnlyCollection<PackageInfo> packageInfoCollection

    The package collection

    Returns
    Type Description
    String

    Example: com.unity.foo@0.1.0-preview com.unity.bar@0.3.0-preview

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023