Version: 2022.1

Application.internetReachability

切换到手册
public static NetworkReachability internetReachability ;

描述

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