C# Class Fungus.SaveData

This component encodes and decodes a list of game objects to be saved for each Save Point. It knows how to encode / decode concrete game classes like Flowchart and FlowchartData. To extend the save system to handle other data types, just modify or subclass this component.
Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: snozbot/fungus

Méthodes publiques

Méthode Description
Decode ( List saveDataItems ) : void

Decodes the loaded list of SaveDataItems to restore the saved game state.

Encode ( List saveDataItems ) : void

Method Details

Decode() public méthode

Decodes the loaded list of SaveDataItems to restore the saved game state.
public Decode ( List saveDataItems ) : void
saveDataItems List
Résultat void

Encode() public méthode

public Encode ( List saveDataItems ) : void
saveDataItems List
Résultat void