Version: 2021.2

Application.internetReachability

切换到手册
public static NetworkReachability internetReachability ;

描述

This has the same functionality as Application.internetReachability and also mimics platform-specific behavior in the Unity Editor.