/// <summary>
 /// Access a database by its name and returns the item with the given index.
 /// </summary>
 /// <param name="databaseName">
 /// The name-string of the database (the string must exactly equal the databases name)
 /// </param>
 /// <param name="itemIndex">
 /// The index of the searched item
 /// </param>
 /// <returns>
 /// The searched item as object-type. Will be 'null' if the string or index does not exist.
 ///  </returns>
 public static object GetItem(string databaseName, int itemIndex)
 {
     if (!DatabasesByNames.ContainsKey(databaseName))
     {
         Debug.LogError("Database-Name " + databaseName + " does not exist!");
         return(null);
     }
     return(GetItem(DatabasesByNames[databaseName], itemIndex));
 }
 /// <summary>
 /// Retruns all items of a database.
 /// </summary>
 /// <param name="databaseName">
 /// The name-string of the database (the string must exactly equal the databases name)
 /// </param>
 /// <returns>
 /// All items as an array of objects.
 /// </returns>
 public static object[] GetAllItems(string databaseName)
 {
     if (!DatabasesByNames.ContainsKey(databaseName))
     {
         Debug.LogError("Database-Name " + databaseName + " does not exist!");
         return(null);
     }
     object[] result = GetAllItems(DatabasesByNames[databaseName]);
     return(result);
 }