internal static void ExploreLocation()
        {
            LibraryWindow win = EditorWindow.GetWindow <LibraryWindow>();

            if (win == null)
            {
                return;
            }

            EditorApplication.OpenFolder(Path.Combine(ProjectLibrary.ResourceFolder, win.CurrentFolder));
        }
Beispiel #2
0
        private void OnEditorUpdate()
        {
            if (buildScheduledFrame == Time.FrameIdx)
            {
                BuildManager.Build();
                ProgressBar.Hide();

                EditorApplication.OpenFolder(BuildManager.OutputFolder);
                DialogBox.Open(new LocEdString("Build complete"), new LocEdString("Build complete"), DialogBox.Type.OK);
            }
        }
        internal static void OpenExternally()
        {
            LibraryWindow win = EditorWindow.GetWindow <LibraryWindow>();

            if (win == null)
            {
                return;
            }

            EditorApplication.OpenFolder(Path.Combine(ProjectLibrary.ResourceFolder, win.SelectedEntry));
        }