docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetOperator

    GetOperator<T>(Artifact)

    Utility method to get operators of a certain type from an artifact.

    Declaration
    public static T GetOperator<T>(this Artifact artifact) where T : class, IOperator
    Parameters
    Type Name Description
    Artifact artifact

    Artifact to get operators from.

    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    Type of operators to get.

    GetOperator<T>(IEnumerable<IOperator>)

    Utility method to get operators of a certain type from a list of operators.

    Declaration
    public static T GetOperator<T>(this IEnumerable<IOperator> operators) where T : class, IOperator
    Parameters
    Type Name Description
    IEnumerable<IOperator> operators

    The operators to filter.

    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    Type of operators to get.

    In This Article
    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