mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkServer.GetNetworkIdentity made internal so it can be tested and reused in other places if needed
This commit is contained in:
parent
e7c9dc4f6e
commit
67a2a85cb9
@ -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<NetworkIdentity>();
|
||||
if (identity == null)
|
||||
|
Loading…
Reference in New Issue
Block a user