You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-16 23:26:32 +09:00
Fix Compile Error
This commit is contained in:
@@ -27,9 +27,9 @@ namespace Lidgren.Network
|
|||||||
public static IPAddress GetMyAddress(out IPAddress mask)
|
public static IPAddress GetMyAddress(out IPAddress mask)
|
||||||
{
|
{
|
||||||
mask = null;
|
mask = null;
|
||||||
|
#if UNITY_ANDROID || UNITY_STANDALONE_OSX || UNITY_STANDALONE_WIN || UNITY_STANDALONE_LINUX || UNITY_IOS || UNITY
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
#if UNITY_ANDROID || UNITY_STANDALONE_OSX || UNITY_STANDALONE_WIN || UNITY_STANDALONE_LINUX || UNITY_IOS || UNITY
|
|
||||||
if (!(UnityEngine.Application.internetReachability == UnityEngine.NetworkReachability.NotReachable))
|
if (!(UnityEngine.Application.internetReachability == UnityEngine.NetworkReachability.NotReachable))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user