Skip to content

Commit

Permalink
new Update: 1.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanbayatme committed May 26, 2017
1 parent f45f353 commit 99462fe
Show file tree
Hide file tree
Showing 18 changed files with 655 additions and 183 deletions.
7 changes: 6 additions & 1 deletion Assets/SaveGameFree/Demo/Demo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;

namespace SaveGameFree
Expand All @@ -24,7 +25,7 @@ void Awake ()
demoData = new DemoData ();

// Initialize the Saver with the default configurations
Saver.InitializeDefault ();
Saver.Initialize ();

// Load game data after initialization
demoData = Saver.Load<DemoData> ( fileName );
Expand Down Expand Up @@ -59,6 +60,10 @@ void OnGUI ()
// Load the game data
demoData = Saver.Load<DemoData> ( fileName );
}
if ( GUILayout.Button ( "Reload" ) )
{
Application.LoadLevel ( Application.loadedLevel );
}
}

}
Expand Down
Binary file added Assets/SaveGameFree/Documentation - HTML.zip
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Assets/SaveGameFree/Documentation.pdf
Binary file not shown.
8 changes: 8 additions & 0 deletions Assets/SaveGameFree/Documentation.pdf.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

192 changes: 192 additions & 0 deletions Assets/SaveGameFree/Documentation.rtf

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions Assets/SaveGameFree/Documentation.rtf.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 20 additions & 16 deletions Assets/SaveGameFree/Documentation.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
Welcome to Save Game Free Documentation.
Save Game Free
Complete, Free, Easy way to Save your Game Data Everywhere you like


Installation
Import the Save Game Free package file to your project.


Getting Started
Now Open the Demo.cs at SaveGameFree > Demo > Demo.cs and take a look at this to learn how to use Save Game Free.


Just make a class for your Game Data such as scores, achievements and change the data at runtime and save it on exit (Saver.Save (object data, string fileName);) and load it back on start (Saver.Load<GameData> (string fileName);).

You can see full getting started tutorial at Save Game Free GitHub Page or find more examples at Save Game Free Wiki Page, Hope you find useful things.
Thanks
Just we say thanks for your choice and rating us. We are happy to help you.


If you have any further issues just sned them to [email protected] or file them at https://github.com/EmpireAssets/SaveGameFree/issues


Easily in your intialization script include "using SaveGameFree;" at top then
add "Saver.InitializeDefault();" to your initializer method such as "Awake" method.

When you call "Saver.InitializeDefault()" this will initializes the Saver with default paramters.
The parameters provided for initilization are:
format: What format you want to save your files. (Default: JSON)
preferredExtension: The save file preferred extension, if you leave it empty this will replaced by format extension. (Default: "")
savePath: Where you want to save your file. you have there selection: (Default: PersistentDataPath)
1 - Persistent Data Path (Application.persistentDataPath)
2 - Data Path (Application.dataPath)
3 - Streaming Assets Path (Application.streamingAssetsPath)

Thats done.
You can find more useful docs at "https://github.com/EmpireAssets/SaveGameFree/wiki".
If you have any issue or improvement or request you send me an email at "[email protected]".
Made with 💛 by Bayat
4 changes: 2 additions & 2 deletions Assets/SaveGameFree/Documentation.txt.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed Assets/SaveGameFree/Icon.png
Binary file not shown.
3 changes: 0 additions & 3 deletions Assets/SaveGameFree/Readme.txt

This file was deleted.

Loading

0 comments on commit 99462fe

Please sign in to comment.