Ejemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        DataPersistenceManager.saveJson(this, Application.persistentDataPath + "Prueba.json");

        Player p = DataPersistenceManager.loadJson <Player>(Application.persistentDataPath);

        Debug.Log(Application.persistentDataPath);
    }
Ejemplo n.º 2
0
 private void OnWizardCreate()
 {
     //  foreach (Component b in Selection.activeGameObject.GetComponents())
     DataPersistenceManager.saveJson(Selection.activeObject, Application.persistentDataPath + Selection.activeObject.name + ".json");
 }