From 67a2a85cb91731bedccfe34a329299b1cc52a2c7 Mon Sep 17 00:00:00 2001 From: vis2k Date: Tue, 25 Feb 2020 22:25:39 +0100 Subject: [PATCH] NetworkServer.GetNetworkIdentity made internal so it can be tested and reused in other places if needed --- Assets/Mirror/Runtime/NetworkServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Runtime/NetworkServer.cs b/Assets/Mirror/Runtime/NetworkServer.cs index 8ff5dc956..b56c62b3d 100644 --- a/Assets/Mirror/Runtime/NetworkServer.cs +++ b/Assets/Mirror/Runtime/NetworkServer.cs @@ -916,7 +916,7 @@ internal static bool InternalReplacePlayerForConnection(NetworkConnection conn, return true; } - static bool GetNetworkIdentity(GameObject go, out NetworkIdentity identity) + internal static bool GetNetworkIdentity(GameObject go, out NetworkIdentity identity) { identity = go.GetComponent(); if (identity == null)