EditorApplication.isRemoteConnected
public static bool isRemoteConnected;
Description 描述
Is editor currently connected to Unity Remote 4 client app.
This lets you to check if editor has successfully connected to Unity Remote 4 client, and data is being transferred between them.