{"id":16494347,"url":"https://github.com/james231/unity-editor-window-navigation-template","last_synced_at":"2026-04-11T16:32:37.397Z","repository":{"id":119841083,"uuid":"243786343","full_name":"James231/Unity-Editor-Window-Navigation-Template","owner":"James231","description":"Template for creating Editor Windows in Unity. Includes an animated panel navigation system.","archived":false,"fork":false,"pushed_at":"2020-02-28T15:43:54.000Z","size":12999,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-11T22:19:49.734Z","etag":null,"topics":["animation","extension","navigation","panel","transition","unity","unity-editor","unity3d-plugin"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/James231.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-28T14:53:50.000Z","updated_at":"2022-12-13T21:21:39.000Z","dependencies_parsed_at":"2023-06-03T08:15:07.118Z","dependency_job_id":null,"html_url":"https://github.com/James231/Unity-Editor-Window-Navigation-Template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/James231%2FUnity-Editor-Window-Navigation-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/James231%2FUnity-Editor-Window-Navigation-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/James231%2FUnity-Editor-Window-Navigation-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/James231%2FUnity-Editor-Window-Navigation-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/James231","download_url":"https://codeload.github.com/James231/Unity-Editor-Window-Navigation-Template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241335596,"owners_count":19946086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","extension","navigation","panel","transition","unity","unity-editor","unity3d-plugin"],"created_at":"2024-10-11T14:13:11.190Z","updated_at":"2026-04-11T16:32:32.335Z","avatar_url":"https://github.com/James231.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity Editor Window Navigation Template\n\nRequires Unity 2019.2 or later.\n\n## Description\n\nThis Unity project/package contains a template you can build on to create a custom \"mutli-page\" Editor Window. You can create multiple \"panels\" for the window (each in a separate file), and use the navigation system provided. Navigation includes the ability to switch between panels smoothly using a \"sliding\" animation (based on Unity's AnimationCurves).  \n  \nDisclaimers:  \n1. Currently doesn't serialize the windows correctly, so a recompile will crash the windows. This can be fixed by switching the windows over to using ScriptableObjects.  \n2. Navigation works in a stack but only supports backwards navigation. No forward navigation if you go back a page, but then want to return to the previous page.\n\n## How to open\n\nEither clone the repository and open the included Unity project in Unity 2019.2 or later.  \n  \nOR download the Unity package file and import it into your own project.\n\n## Opening the Window:\n\nYou can open the custom editor window by going to the top menu bar and selecting `Window \u003e Editor Window Navigation Demo`. This menu item can be changed to your own within `Assets/Editor/Scripts/MenuItems.cs`.  \n  \nYou can also change the window title in `Assets/Editor/Scripts/MainWindow.cs`.  \n\n## Creating your own Panel\n\nYou can create your own panel by creating another `.cs` file in the `Assets/Editor/Scripts/Panels` folder. The panel must inherit from `PanelBase` and the panel content can be drawn using standard `GUILayout` methods in the overriden `Render()` method (treating it like the standard `OnGUI` method).  \n  \nYou can also change the background colour of the panel by overriding `GetBackgroundColor()`.  \n\nSee the included `WelcomePanel` and `ColourPanel` examples included.\n\n## Navigation\n\nThe `WelcomePanel` is created and displayed by default. You can change this on line 33 of `Assets/Editor/Scripts/PanelManager.cs`.  \n  \nNavigation works using the following methods:  \n`PanelManager.Navigate` - Transition to a new panel. The previous panel gets added to the stack, so backwards navigation can be used.  \n`PanelManager.ChangePanel` - Transition to a new panel without changing the stack. Use this if you want to transition to a new panel which shouldn't be added to the stack (i.e. the user shouldn't be able to return to it from later panels).  \n`PanelManager.Back` - Use this to transition back to the previous panel in the stack.  \n`PanelManager.ClearStack` - Remove all previous panels from the stack to prevent the user navigating back. (e.g. after a user logs in via a login panel, you may want to use this to prevent the user going back to the login screen via a back button).\n\n\n# License\n\nThis code is released under MIT license. This means you can use this for whatever you want. Modify, distribute, sell, fork, and use this as much as you like. Both for personal and commercial use. I hold no responsibility if anything goes wrong.  \n  \nIf you use this, you don't need to refer to this repo, or give me any kind of credit but it would be appreciated.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames231%2Funity-editor-window-navigation-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjames231%2Funity-editor-window-navigation-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames231%2Funity-editor-window-navigation-template/lists"}