public void InspectRandomRecord() { if (sfController.hasQuery()) { SalesforceQueryResult queryResult = sfController.getLastQueryResult(); int amountOfObjectsInQuery = queryResult.amountOfRecords; Dictionary <string, string> someRecord = queryResult.GetRecordMapWithIndex(Random.Range(0, amountOfObjectsInQuery)); Debug.Log("RANDOML SELECTED RECORD: " + someRecord["Name"]); } else { Debug.Log("THERE's NO QUERY RESULT!"); } }