Class UsesConnectInterfacesMethods
Namespace: Unity.Labs.EditorXR.Interfaces
Syntax
public static class UsesConnectInterfacesMethods
Methods
ConnectInterfaces(IUsesConnectInterfaces, Object, Object)
Method provided by the system for connecting interfaces
Declaration
public static void ConnectInterfaces(this IUsesConnectInterfaces user, object target, object userData = null)
Parameters
Type | Name | Description |
---|---|---|
IUsesConnectInterfaces | user | The functionality user |
Object | target | Object to connect interfaces on |
Object | userData | (Optional) extra data needed to connect interfaces on this object |
DisconnectInterfaces(IUsesConnectInterfaces, Object, Object)
Method provided by the system for disconnecting interfaces
Declaration
public static void DisconnectInterfaces(this IUsesConnectInterfaces user, object target, object userData = null)
Parameters
Type | Name | Description |
---|---|---|
IUsesConnectInterfaces | user | The functionality user |
Object | target | Object to disconnect interfaces on |
Object | userData | (Optional) extra data needed to connect interfaces on this object |