static void Init() { _window = BuildAssetBundleWindow.GetWindow(typeof(BuildAssetBundleWindow), false, "Setting AssetBundle", true) as BuildAssetBundleWindow; _window.position = new Rect(100, 100, 800, 600); //Debug.logger.Log("Application.persistentDataPath: " + UnityEngine.Application.persistentDataPath); _window.Show(true); }
static void Init() { window = (BuildAssetBundleWindow)EditorWindow.GetWindow(typeof(BuildAssetBundleWindow)); window.position = new Rect(100, 100, 500, 500); window.titleContent = new GUIContent("打资源AB包"); isLoadScene = false; window.Show(); enableBuild = true; }