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
Show file Open project: snozbot/fungus

Public Methods

Method 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 method

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

Encode() public method

public Encode ( List saveDataItems ) : void
saveDataItems List
return void