Hi there,
Once you've created the ES3Type you don't need to do anything with it, you just need to attach an ES3AutoSave component to the GameObject containing the component if you want it to be AutoSaved.
Note that if you're using ES3.Save and ES3.Load rather than AutoSave, your Component is automatically supported and doesn't need an ES3Type.
All the best,
Joel
REQUEST EXAMPLES AND TUTORIALS HERE
Re: REQUEST EXAMPLES AND TUTORIALS HERE
Hi - I'm trying to make use of the ES3Spreadsheet functionality to load in some game data. I'm struggling to get it working though. I have a simple csv file sitting in the Assets folder (which I believe is the default path?) but when I just user the example code to try to load it up, I get the following error:
ArgumentNullException: Value cannot be null.
Parameter name: stream
I'm guessing it's not finding the file.
Are you able to elaborate on how it can/should be used? Can TextAssets be loaded to it from the Resources folder?
ArgumentNullException: Value cannot be null.
Parameter name: stream
I'm guessing it's not finding the file.
Are you able to elaborate on how it can/should be used? Can TextAssets be loaded to it from the Resources folder?
Re: REQUEST EXAMPLES AND TUTORIALS HERE
Hi there,sjarman wrote: ↑Mon Sep 14, 2020 10:45 amHi - I'm trying to make use of the ES3Spreadsheet functionality to load in some game data. I'm struggling to get it working though. I have a simple csv file sitting in the Assets folder (which I believe is the default path?) but when I just user the example code to try to load it up, I get the following error:
ArgumentNullException: Value cannot be null.
Parameter name: stream
I'm guessing it's not finding the file.
Are you able to elaborate on how it can/should be used? Can TextAssets be loaded to it from the Resources folder?
There is an example of using ES3Spreadsheet in the ES3Spreadsheet guide:
https://docs.moodkie.com/easy-save-3/es ... and-excel/
As your request sounds more around troubleshooting an error, please could you create a new project with a basic scene which replicates this and private message it to me?
All the best,
Joel
-
- Posts: 1
- Joined: Wed Jan 20, 2021 12:46 pm
Re: REQUEST EXAMPLES AND TUTORIALS HERE
Hi I would like to see an example showing following features:
cloud saves, auto saves, saving an instance of a game object with a script attached to it with few variables.
cloud saves, auto saves, saving an instance of a game object with a script attached to it with few variables.
Re: REQUEST EXAMPLES AND TUTORIALS HERE
Hi there,
There's examples of cloud saving in the cloud saving guide, and also a project in the Examples:
https://moodkie.com/forum/viewtopic.php?f=16&t=1436
There's an example of a project using Auto Save in the Examples:
https://moodkie.com/forum/viewtopic.php?f=18&t=1468
Regarding saving and loading a GameObject with a script, this is covered in the Saving and Loading GameObjects guide:
https://docs.moodkie.com/easy-save-3/es ... s-prefabs/
i.e.
All the best,
Joel
There's examples of cloud saving in the cloud saving guide, and also a project in the Examples:
https://moodkie.com/forum/viewtopic.php?f=16&t=1436
There's an example of a project using Auto Save in the Examples:
https://moodkie.com/forum/viewtopic.php?f=18&t=1468
Regarding saving and loading a GameObject with a script, this is covered in the Saving and Loading GameObjects guide:
https://docs.moodkie.com/easy-save-3/es ... s-prefabs/
i.e.
Code: Select all
// Save a GameObject.
ES3.Save("myGameObject", go);
// Load a GameObject, automatically assigning it to an existing
// GameObject if one exists, or create a new GameObject if not.
ES3.Load("myGameObject", defaultGo);
Joel