using System; using Unity.Burst; namespace Unity.Networking.Transport { public struct TransportFunctionPointer where T : Delegate { public TransportFunctionPointer(T executeDelegate) { Ptr = BurstCompiler.CompileFunctionPointer(executeDelegate); } internal readonly FunctionPointer Ptr; } }