Stores the data used by the NEEDSIM Life simulation
More...
Inherits ScriptableObject.
Stores the data used by the NEEDSIM Life simulation
string [] Simulation.DatabaseAsset.GetInteractionNames |
( |
| ) |
|
Constructs a new array with the names of all interactions.
- Returns
- A new array with the name of all interactions.
string [] Simulation.DatabaseAsset.GetNeedNames |
( |
| ) |
|
Constructs a new array with the names of all needs.
- Returns
- A new array with the name of all needs.
string [] Simulation.DatabaseAsset.GetSpeciesNames |
( |
| ) |
|
Constructs a new array with the names of all species.
- Returns
- A new array with the name of all species.
void Simulation.DatabaseAsset.Init |
( |
string |
databaseName, |
|
|
List< NeedItem > |
needs, |
|
|
List< Species > |
species, |
|
|
List< InteractionData > |
interactions, |
|
|
bool |
isDefaultDatabase |
|
) |
| |
Initializes the database asset with values
- Parameters
-
databaseName | The name of the database |
needs | The needs in the database |
species | The species in the databse |
interactions | The interactions in the database |
isDefaultDatabase | Whether this is the one default database. |
string Simulation.DatabaseAsset.DatabaseName |
All the interactions in the database.
bool Simulation.DatabaseAsset.isDefault |
Whether this is the one default database.
List<NeedItem> Simulation.DatabaseAsset.NeedsList |
All the needs in the database
List<Species> Simulation.DatabaseAsset.Species |
All the species in the database
The documentation for this class was generated from the following file: