{"id":14960991,"url":"https://github.com/gilzoide/unity-back-button-stack","last_synced_at":"2025-10-24T20:30:41.521Z","repository":{"id":204064514,"uuid":"711034867","full_name":"gilzoide/unity-back-button-stack","owner":"gilzoide","description":"Easily manage a stack of objects that respond to the ESC button / Android Back button in Unity, so that only the top object handles the event.","archived":false,"fork":false,"pushed_at":"2025-01-13T21:19:53.000Z","size":24,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-31T03:54:41.381Z","etag":null,"topics":["back-button","backbutton","manager","stack","unity","unity3d","upm","upm-package"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gilzoide.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":["gilzoide"],"patreon":null,"open_collective":null,"ko_fi":"gilzoide","tidelift":null,"community_bridge":null,"liberapay":"gilzoide","issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-10-28T02:55:52.000Z","updated_at":"2025-01-27T06:39:36.000Z","dependencies_parsed_at":"2024-01-10T13:55:10.585Z","dependency_job_id":"250c36fc-a639-4642-985d-0a4e08db267a","html_url":"https://github.com/gilzoide/unity-back-button-stack","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"46ceaa679636e1db39808dedcf59729949bac4c8"},"previous_names":["gilzoide/unity-back-button-stack"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-back-button-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-back-button-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-back-button-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-back-button-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gilzoide","download_url":"https://codeload.github.com/gilzoide/unity-back-button-stack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238030288,"owners_count":19404859,"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":["back-button","backbutton","manager","stack","unity","unity3d","upm","upm-package"],"created_at":"2024-09-24T13:23:36.516Z","updated_at":"2025-10-24T20:30:41.149Z","avatar_url":"https://github.com/gilzoide.png","language":"C#","readme":"# Back Button Stack\n[![openupm](https://img.shields.io/npm/v/com.gilzoide.back-button-stack?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.gilzoide.back-button-stack/)\n\nEasily manage a stack of objects that respond to the ESC button / Android Back button in Unity, so that only the top object handles the event.\n\nCheck out the [Popup Stack](Samples~/PopupStack) sample scene for some usage example.\n\n\n## Features\n- Only the last object in the stack will be called when the ESC/Back button is pressed.\n- Inherit [ABackButtonHandler](Runtime/ABackButtonHandler.cs) to have scripts that handle the ESC/Back button be inserted/removed from the singleton stack automatically in their `OnEnable` / `OnDisable` methods.\n- Supports pure C# classes as well, just implement the [IBackButtonHandler](Runtime/IBackButtonHandler.cs) interface and call `AddToBackButtonStack` and `RemoveFromBackButtonStack` to add / remove it from the singleton stack.\n- Custom inspector for debugging which objects are currently in the stack, just select the `BackButtonStack` object in the `DontDestroyOnLoad` scene while in Play Mode.\n\n\n## How to install\nEither:\n- Use the [openupm registry](https://openupm.com/) and install this package using the [openupm-cli](https://github.com/openupm/openupm-cli):\n  ```\n  openupm add com.gilzoide.back-button-stack\n  ```\n- Install using the [Unity Package Manager](https://docs.unity3d.com/Manual/upm-ui-giturl.html) with the following URL:\n  ```\n  https://github.com/gilzoide/unity-back-button-stack.git#1.0.0\n  ```\n- Clone this repository or download a snapshot of it directly inside your project's `Assets` or `Packages` folder.\n","funding_links":["https://github.com/sponsors/gilzoide","https://ko-fi.com/gilzoide","https://liberapay.com/gilzoide"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilzoide%2Funity-back-button-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgilzoide%2Funity-back-button-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilzoide%2Funity-back-button-stack/lists"}