Unity Editor基础:自定义窗口 首先打开项目,找到Editor文件夹,创建一个新的C#脚本; 然后添加以下代码: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor