1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-06 02:11:06 +09:00

Added some UNITY defines; fix by aeronaut84. Untested.

This commit is contained in:
lidgren
2014-08-02 18:01:30 +00:00
parent 57eba64f6f
commit 4bfb24da96
4 changed files with 13 additions and 5 deletions

View File

@@ -16,13 +16,17 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRA
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#if !__ANDROID__ && !IOS
#if !__ANDROID__ && !IOS && !UNITY_WEBPLAYER
#define IS_FULL_NET_AVAILABLE
#endif
using System;
using System.Net;
#if IS_FULL_NET_AVAILABLE
using System.Net.NetworkInformation;
#endif
using System.Net.Sockets;
using System.Text;
using System.Text.RegularExpressions;