| GameData Class |
The ScriptableObject holding the saved spell data and the trained network.
Inheritance Hierarchy SystemObject Object ScriptableObject RavingBots.MagicGestures.GameGameData
Namespace:
RavingBots.MagicGestures.Game
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public class GameData : ScriptableObject
The GameData type exposes the following members.
Constructors
| Name | Description |
---|
| GameData | Initializes a new instance of the GameData class |
TopMethods
| Name | Description |
---|
| Clear |
Reset the saved data.
|
| Save |
Mark this asset as dirty and trigger a save.
|
TopFields
| Name | Description |
---|
| MLP |
The trained neural network instance.
|
| Spells |
The configured spells.
|
TopRemarks
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