public static void BuildFromMenu() { var window = GetWindow<AssetBundleGraphEditorWindow>(); window.Run(window.ActiveBuildTarget); }