public static void CreateWindow() { //Rect rect = new Rect(400, 400, 300, 400); //AudioWindowEditor window = EditorWindow.GetWindowWithRect<AudioWindowEditor>(rect); //创建一个窗口 RenameAssetsTool window = GetWindow <RenameAssetsTool>("批量重命名"); //创建窗口 window.Show(); }
private static void RenameAssets() { RenameAssetsTool.CreateWindow(); }