Search found 4866 matches

by Joel
Sat May 11, 2013 9:53 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Questions regarding reading a list of files
Replies: 3
Views: 9259

Re: Questions regarding reading a list of files

Hi Gibbie,

As everyone's project is likely to be different, the best idea is to look at the Documentation and Examples to see if you can easily integrate it into your project.

I hope this helps,

All the best,
Joel
by Joel
Wed May 08, 2013 10:48 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Saving to and loading from mySQL
Replies: 7
Views: 14809

Re: Saving to and loading from mySQL

I'm afraid that it's not possible to save prefabs as it would require too much processor power and memory to do so. You should instead save only the variables that you need to save (for example, the Transform, or variables in any scripts you have attached to the prefab).

Regards,
Joel
by Joel
Wed May 08, 2013 9:47 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Saving to and loading from mySQL
Replies: 7
Views: 14809

Re: Saving to and loading from mySQL

Basically, usually ES2 uploads data with a header attached, which tells us information about the type of data being stored among other things. The data is also encoded in a way which allows it to be stored and loaded quicker. However, when you use UploadRaw, it stores it in the database as a string ...
by Joel
Wed May 08, 2013 9:31 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Saving to and loading from mySQL
Replies: 7
Views: 14809

Re: Saving to and loading from mySQL

Hi again, 3. Again, because data is stored in Easy Save's own format, it would be difficult to display the data to a standard PHP page. However, ES2Web does include an UploadRaw method which allows you to upload a string to the database, without any of the ES2 formatting data. The ES2 MySQL database...
by Joel
Wed May 08, 2013 7:50 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: EasySave2 Mobile Questions
Replies: 1
Views: 5876

Re: EasySave2 Mobile Questions

Hi kromenak, The cost of performing file I/O is negligible, especially in the grand scheme of a game engine. Caching would also use up memory, which seems to be more important, especially on mobile. If it's essential that you have caching, in Easy Save 2 you can set the save location to Playerprefs,...
by Joel
Tue May 07, 2013 8:50 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Saving to and loading from mySQL
Replies: 7
Views: 14809

Re: Saving to and loading from mySQL

Hi Bond, I'll answer your questions in order: 1. Like all WWW communication in Unity, saving/loading to web uses a coroutine, so it spreads it across multiple frames if it needs to (for example, if the internet connection is very slow). Unless you're transferring large amounts of data (such as large...
by Joel
Sat May 04, 2013 7:40 am
Forum: (Legacy) Easy Save 2 General Discussion
Topic: Proper way to load 2d array?
Replies: 2
Views: 7768

Re: Proper way to load 2d array?

The simplest way in your case is indeed to have a separate scripts which handles saving and loading, rather than getting each individual object. Also you are correct in saying that you will have to save and load the entire array. Easy Save 2 is very fast, so I wouldn't worry about performance. Somet...
by Joel
Tue Apr 30, 2013 4:38 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: web.Upload array error
Replies: 1
Views: 5788

Re: web.Upload array error

Hi there, Your syntax is perfect; the problem is at our end. For some reason the compiler has ignored the Upload methods for collections. We're going to revert back to the earlier version of the compiler so this will be fixed in the upcoming update, which we hope will be available within the next we...
by Joel
Sun Apr 21, 2013 10:25 am
Forum: (Legacy) Easy Save 2 Examples and Tutorials
Topic: Saving, Loading and Instantiating Prefabs
Replies: 5
Views: 76118

Saving, Loading and Instantiating Prefabs

Saving, Loading and Instantiating Prefabs In this example, we create a script which saves and loads prefabs. The main functions we use in this example are: Unity's Instantiate Function to create our prefabs ES2.Save ES2.Load self-assigning function, which loads the data into the Component supplied ...
by Joel
Fri Apr 19, 2013 12:11 pm
Forum: (Legacy) Easy Save 2 General Discussion
Topic: ES2 Web Questions
Replies: 1
Views: 5668

Re: ES2 Web Questions

Hi ltcastro, Easy Save is a saving method in its own right, so you do not use Playerprefs or PlayerprefsX. For the record, ES2 will automatically store data in Playerprefs on webplayer. Examples can be found HERE , including this example explaining how to save to web . Encryption can be used by spec...