Struct TransportFunctionPointer<T>
Represents a wrapper around burst compatible function pointers in a portable way
Inherited Members
Namespace: Unity.Networking.Transport
Assembly: solution.dll
Syntax
public struct TransportFunctionPointer<T> where T : Delegate
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
| Name | Description |
|---|---|
| TransportFunctionPointer(FunctionPointer<T>) | Initializes a new instance of the TransportFunctionPointer class |
| TransportFunctionPointer(T) | Initializes a new instance of the TransportFunctionPointer class |
Fields
| Name | Description |
|---|---|
| Ptr | Returns Burst FunctionPointer<T> |
Methods
| Name | Description |
|---|---|
| Burst(T) | returns a wrapped Burst compiled function pointer |
| Managed(T) | Returns a wrapped managed function pointer |