{"id":13731170,"url":"https://github.com/coryleach/UnitySaveLoad","last_synced_at":"2025-05-08T04:32:05.525Z","repository":{"id":56851358,"uuid":"257398468","full_name":"coryleach/UnitySaveLoad","owner":"coryleach","description":"Quickly Save/Load data in Binary or Json formats, and Encrypt it in Unity","archived":false,"fork":false,"pushed_at":"2023-11-17T23:21:20.000Z","size":83,"stargazers_count":59,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T00:32:31.450Z","etag":null,"topics":["game-development","gamedev","helper","load","save","savegame","serialization","unity","unity3d","utility"],"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/coryleach.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2020-04-20T20:39:49.000Z","updated_at":"2025-03-13T02:07:51.000Z","dependencies_parsed_at":"2023-11-18T00:52:38.498Z","dependency_job_id":"46869b60-f100-43f5-a6c1-ca28f3f956fa","html_url":"https://github.com/coryleach/UnitySaveLoad","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryleach%2FUnitySaveLoad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryleach%2FUnitySaveLoad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryleach%2FUnitySaveLoad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryleach%2FUnitySaveLoad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coryleach","download_url":"https://codeload.github.com/coryleach/UnitySaveLoad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252999612,"owners_count":21838246,"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":["game-development","gamedev","helper","load","save","savegame","serialization","unity","unity3d","utility"],"created_at":"2024-08-03T02:01:24.847Z","updated_at":"2025-05-08T04:32:05.252Z","avatar_url":"https://github.com/coryleach.png","language":"C#","funding_links":[],"categories":["C#"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/coryleach/UnityPackages/master/Documentation/GameframeFace.gif\" /\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eGameframe.SaveLoad 👋\u003c/h1\u003e\n\n\u003c!-- BADGE-START -\u003e\n\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/coryleach/UnityPackages/master/Documentation/GameframeFace.gif\" /\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eGameframe.SaveLoad 👋\u003c/h1\u003e\n\n\u003c!-- BADGE-START -\u003e\n\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/coryleach/UnityPackages/master/Documentation/GameframeFace.gif\" /\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eGameframe.SaveLoad 👋\u003c/h1\u003e\n\n\u003c!-- BADGE-START -\u003c!-- BADGE-END --\u003e\n\nSerialization helper utility that supports save, load and encryption.\n\n## Quick Package Install\n\n#### Using UnityPackageManager (for Unity 2019.3 or later)\nOpen the package manager window (menu: Window \u003e Package Manager)\u003cbr/\u003e\nSelect \"Add package from git URL...\", fill in the pop-up with the following link:\u003cbr/\u003e\nhttps://github.com/coryleach/UnitySaveLoad.git#1.0.10\u003cbr/\u003e\n\n#### Using UnityPackageManager (for Unity 2019.1 or later)\n\nFind the manifest.json file in the Packages folder of your project and edit it to look like this:\n```js\n{\n  \"dependencies\": {\n    \"com.gameframe.saveload\": \"https://github.com/coryleach/UnitySaveLoad.git#1.0.10\",\n    ...\n  },\n}\n```\n\n\u003c!-- DOC-START --\u003e\n\u003c!--\nChanges between 'DOC START' and 'DOC END' will not be modified by readme update scripts\n--\u003e\n\n## Usage\n\nSaveLoadManager is not a singleton. Multiple instances may be used and created.\u003cbr /\u003e\nIn the project tab menu select Create-\u003eGameframe-\u003eSaveLoad-\u003eSaveLoadManager\u003cbr /\u003e\nThis will create an instance of a SaveLoadManager asset.\u003cbr /\u003e\nSelect the created object and configure options via the inspector.\u003cbr /\u003e\n\n```C#\n//Use the Project tab's create menu GameFrame-\u003eSaveLoad-\u003eSaveLoadManager to create a manager\n//You can then use public or serialized fields to reference your save system.\n// OR\n//Create a Manager at Runtime like this\nmanager = SaveLoadManager.Create(\"BaseDirectory\",\"SaveDirectory\",SerializationMethod.Default);\n\n//Save object to disk in a file named \"MySave.data\"\nmanager.Save(\"MySave.data\",objectToBeSaved);\n\n//Load from disk\n//loadedObject will be null if the file does not exist\nvar loadedObject = manager.Load\u003cSavedObjectType\u003e(\"MySave.data\");\n\n//Delete saved file\nmanager.DeleteSave(\"MySave.data\");\n\n//Setup a Custom Save/Load Method by passing any object that implements ISerializationMethod\nmanager.SetCustomSerializationMethod(new MyCustomSerializationMethod());\n\n//Save a ScriptableObject or any object derived from UnityEngine.Object directly to disk\nvar myScriptableObject = ScriptableObject.CreateInstance\u003cMyScriptableObjectType\u003e();\nmanager.SaveUnityObject(myScriptableObject,\"MyUnityObjectData.dat\");\n\n//Loading a UnityEngine.Object type requires an existing object to overwrite\n//The following method will overwrite all the serialized fields on myScriptableObject with values loaded from disk\nmanager.LoadUnityObjectOverwrite(myScriptableObject,\"MyUnityObjectData.data\");\n```\n\n## Enable Json.Net Support\n\nThis package has been tested with version 3.0.2 of the newtonsoft json package.\nImport the Netwonsoft Json package from the package manager or copy and paste the below into your package manifest.\n```C#\n\"com.unity.nuget.newtonsoft-json\": \"3.0.2\"\n```\nIn player settings add the string 'JSON_DOT_NET' to Scripting Define Symbols.\n\n\u003c!-- DOC-END --\u003e\n\n## Author\n\n👤 **Cory Leach**\n\n* Twitter: [@coryleach](https://twitter.com/coryleach)\n* Github: [@coryleach](https://github.com/coryleach)\n\n\n## Show your support\nGive a ⭐️ if this project helped you!\n\n\n***\n_This README was generated with ❤️ by [Gameframe.Packages](https://github.com/coryleach/unitypackages)_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoryleach%2FUnitySaveLoad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoryleach%2FUnitySaveLoad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoryleach%2FUnitySaveLoad/lists"}