docs.unity3d.com
    显示 / 隐藏目录

    Class TypeExtensions

    Inheritance
    Object
    TypeExtensions
    Namespace: Unity.MARS.Interfaces
    Syntax
    public static class TypeExtensions

    Methods

    GetImplementationsOfInterface(Type, List<Type>)

    Find all types that implement the given interface type, and append them to a list If the input type is not an interface type, no action is taken.

    Declaration
    public static void GetImplementationsOfInterface(this Type type, List<Type> list)
    Parameters
    Type Name Description
    Type type

    The interface type whose implementors will be found

    List<Type> list

    The list to which implementors will be appended

    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)