Version: 2021.3
public static bool isAttached ;

描述

Returns true if there is a managed debugger attached to the UnityEditor, or false if there is not.