Code Monkey home page Code Monkey logo

unitysaveeditor's Introduction

Unity Save Editor

Simply put, this is an editor script for Unity that allows you to view and edit your save games that are saved to disk with the built in serialization model.

If your save function looks like this you're in luck!

      BinaryFormatter bf = new BinaryFormatter();
      FileStream file = File.Create(savePath);
      bf.Serialize(file, gameData);
      file.Close();

Currently you can view and edit Arrays, Lists, Dictionaries, classes, enums, and primative types.

Values can be reset to their default type value with the x control. New items can be added to collections with the + button on supported collections, and values in collections can be removed with the - control.

There are still some features yet to be added, so please check the issues for those and feel free to contribute too!

In Action

Installation

Download the repository into an Editor folder your Unity project. I have the directory structure set up here as Assets/Scripts/Editor/SaveEditor but Assets/Editor/SaveEditor will work too. Once you have it copied you should see the menu item to open it in Unity's window menu:

Unity SaveEditor Menu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.