Version: 2022.2
public static bool isAttached ;

描述

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