{"id":20929287,"url":"https://github.com/thisaislan/persistence-easy-to-delete","last_synced_at":"2026-04-29T03:35:09.788Z","repository":{"id":143507331,"uuid":"614590960","full_name":"thisaislan/persistence-easy-to-delete","owner":"thisaislan","description":"Persistence easy to delete, or just Ped, is a small library to facilitate common persistence handling in the Unity editor. ","archived":false,"fork":false,"pushed_at":"2023-06-05T17:19:33.000Z","size":76,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-19T18:44:07.508Z","etag":null,"topics":["package","persistence","tools","unity"],"latest_commit_sha":null,"homepage":"","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/thisaislan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-03-15T22:49:59.000Z","updated_at":"2023-03-29T13:27:59.000Z","dependencies_parsed_at":"2025-01-19T18:40:22.779Z","dependency_job_id":"de1bba85-cc9e-404e-ae30-91c8e0575db6","html_url":"https://github.com/thisaislan/persistence-easy-to-delete","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisaislan%2Fpersistence-easy-to-delete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisaislan%2Fpersistence-easy-to-delete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisaislan%2Fpersistence-easy-to-delete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisaislan%2Fpersistence-easy-to-delete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thisaislan","download_url":"https://codeload.github.com/thisaislan/persistence-easy-to-delete/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243324269,"owners_count":20273099,"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":["package","persistence","tools","unity"],"created_at":"2024-11-18T21:18:46.283Z","updated_at":"2025-12-30T04:28:04.921Z","avatar_url":"https://github.com/thisaislan.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Persistence easy to delete (Ped) \n\nPersistence easy to delete, or just Ped, is a small library to easily handle persistence in Unity editor and abstract persistence flow in Unity projects.\n\nPed allows us to use Unity's `PlayerPrefs` to persist`bool, byte, sbyte, char, decimal, double,float, int, uint, long, ulong, short, ushort, string` and `object`, also abstracts the logic to persist object as `files`.      \n\nAt runtime, all data saved by Ped is compressed to save space and to protect the data, a similar process is applied to all used keys.  \n\nWhen in the editor, Ped uses a ScriptableObject to store the data, this approach allows us to see and modify the data during development. Ped also provides us with features in the editor to easily manipulate and validate the data used in the test, these features can be accessed through the editor's menu.     \n\nPlease note this is still in development! Check [Issues](https://github.com/thisaislan/persistence-easy-to-delete/issues) for any current support issues or bugs that may exist!\n\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://unity3d.com/get-unity/download\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/unity-tools-blue\" alt=\"Unity Download Link\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/thisaislan/persistence-easy-to-delete/blob/main/LICENSE.md\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/License-MIT-brightgreen.svg\" alt=\"License MIT\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n## Table of Contents\n- [How it works](#How-it-works)\n- [Installation](#Installation)\n- [Features](#Features)\n- [Support](#Support)\n- [Note](#Note)\n- [Thanks](#Thanks)\n- [License](#License)\n\n\n## How it works\n\nIt's simple, do you want to save a int PlayerPrefs? Just do it:\n```csharp\n    Ped.SetPlayerPrefs(key, intValue);\n```\n\nNow maybe you want to save some booleans! The following code can help you:\n```csharp\n    Ped.SetPlayerPrefs(key, booleanValue);\n```\n\nTime for save an entire object:\n```csharp\n    Ped.SetPlayerPrefs(key, someNonEngineObject);\n```\n\nOk, ok, you got the idea, but save an entire object in PlayerPrefs isn't a good idea, maybe you would rather to save a object in a file. In that case just ask to the Ped:\n```csharp\n    Ped.SetFile(key, someNonEngineObject);\n```\n\nAdditionally, any value saved in editor mode will be stored in a PedData ScriptableObject, so you can change its values, type and key by inspector or just delete or duplicate it.\n\nFor default Ped create a folder named Ped to create a PedData if it doesn't exist, and put a ScriptableObject named PedSettings in the Settings folder to point out which PedData is being used at that moment .\n\n## Installation\n\nPed can be installed directly through the git url\n```\nhttps://github.com/thisaislan/persistence-easy-to-delete.git\n```\n\nIf you need more information about installing package from a Git URL, you can click [here](https://docs.unity3d.com/Manual/upm-ui-giturl.html). :slightly_smiling_face:\n\n\n## Features\n\nCurrently, this is what Ped does have\n| Feature                    |       Status      |\n| -------------------------- | :----------------:|\n| Serialize                  |         ✔️         |\n| Deserialize                |         ✔️         |\n| SetPlayerPrefs             |         ✔️         |\n| GetPlayerPrefs             |         ✔️         |\n| DeletePlayerPrefs          |         ✔️         |\n| DeleteAllPlayerPrefs       |         ✔️         |\n| HasPlayerPrefsKey          |         ✔️         |\n| SavePlayerPrefs            |         ✔️         |\n| SetFile                    |         ✔️         |\n| GetFile                    |         ✔️         |\n| DeleteFile                 |         ✔️         |\n| DeleteAllFiles             |         ✔️         |\n| HasFileKey                 |         ✔️         |\n| DeleteAll                  |         ✔️         |\n\n\n## Support\nPlease submit any queries, bugs or issues, to the [Issues](https://github.com/thisaislan/persistence-easy-to-delete/issues) page on this repository. All feedback is appreciated as it not just helps myself find problems I didn't otherwise see, but also helps improve the project.\n\n\n## Note\n\nBy default Ped uses JsonUtility so it has all the limitations of that library. If you want to change the serializer class, check the `Custom Serializer` field in the PedSettings file. \n\n\n## Thanks\nMy friends and family, and you for having come here!\n\n\n## License\nCopyright (c) 2021-present Aislan Tavares (@thisaislan) and Contributors. Ped is free and open-source software licensed under the [MIT License](https://github.com/thisaislan/persistence-easy-to-delete/blob/main/LICENSE.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisaislan%2Fpersistence-easy-to-delete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthisaislan%2Fpersistence-easy-to-delete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisaislan%2Fpersistence-easy-to-delete/lists"}