Skip to content

Commit 39dd213

Browse files
simon-lemay-unitywackoisgod0xFA11
authored
fix: Make UnityTransport a partial class (mirror) (#1851)
* Making UnityTransport partial this way it can be used with asmrefs, and get access to the m_Settings variable allow devs to provide their own settings usage * Make the semantic PR check happy... Co-authored-by: Andrew Spiering <[email protected]> Co-authored-by: Fatih Mar <[email protected]>
1 parent b11e04e commit 39dd213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.netcode.gameobjects/Runtime/Transports/UTP/UnityTransport.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static string ErrorToString(Networking.Transport.Error.StatusCode error,
6767
}
6868
}
6969

70-
public class UnityTransport : NetworkTransport, INetworkStreamDriverConstructor
70+
public partial class UnityTransport : NetworkTransport, INetworkStreamDriverConstructor
7171
{
7272
public enum ProtocolType
7373
{

0 commit comments

Comments
 (0)