Check for internet connectivity from Unity

后端 未结 6 1976
轮回少年
轮回少年 2020-12-07 00:41

I have a Unity project which I build for Android and iOS platforms. I want to check for internet connectivity on Desktop, Android, and iOS devices. I\'ve read about three di

6条回答
  •  臣服心动
    2020-12-07 01:29

    I've created an Android's library that can be used as Unity's plugin for this purpose. If anyone's interested it's available under https://github.com/rixment/awu-plugin

    As for the iOS version unfortunately I don't have enough of knowledge in this area. It would be nice if someone could extend the repo to include the iOS version too.

提交回复
热议问题