private static extern void INTERNAL_CALL_CloseConnection(ref NetworkPlayer target, bool sendDisconnectionNotification); [MethodImpl(MethodImplOptions.InternalCall)]
public static void CloseConnection(NetworkPlayer target, bool sendDisconnectionNotification) { Network.INTERNAL_CALL_CloseConnection(ref target, sendDisconnectionNotification); }