Version: 2022.1
public static bool isEditor ;

描述

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