 | GameData Class |
The ScriptableObject holding the saved spell data and the trained network.
Inheritance HierarchySystemObject Object ScriptableObject RavingBots.MagicGestures.GameGameData
Namespace:
RavingBots.MagicGestures.Game
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic class GameData : ScriptableObject
The GameData type exposes the following members.
Constructors
| Name | Description |
---|
 | GameData | Initializes a new instance of the GameData class |
Top
Methods
| Name | Description |
---|
 | Clear |
Reset the saved data.
|
 | Save |
Mark this asset as dirty and trigger a save.
|
Top
Fields
| Name | Description |
---|
 | MLP |
The trained neural network instance.
|
 | Spells |
The configured spells.
|
Top
Remarks
An instance of this object is saved as an asset so that spells can be
pretrained and then shipped with the game. The current implementation is only
capable of saving spells trained inside of an editor session.
See Also