docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FunctionalityProviderMethods

    Extension methods for all Functionality Providers

    Inheritance
    object
    FunctionalityProviderMethods
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.XRTools.ModuleLoader
    Assembly: solution.dll
    Syntax
    public static class FunctionalityProviderMethods

    Methods

    Name Description
    TryConnectSubscriber<TProvider>(TProvider, object)

    Use pattern matching cast to try converting a given object to IFunctionalitySubscriber>TProvider< If the cast succeeds, set the object's provider property to this object Make sure to use the same generic argument that is used in IFunctionalitySubscriber, not an extension of that type

    In This Article
    Back to top
    Copyright © 2024 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)