Purpose
Gets a single CSV entry at the corresponding row and column position, if the resource object is a valid CSV File resource. Otherwise returns a null object.
Syntax
string GetCSVEntry(int rowIndex, int columnIndex);
- rowIndex: The row index to retrieve the CSV data entry from.
- columnIndex: The column index to retrieve the CSV data from.
Example
function Update() {
csv = Document.FindResourceByName("test.csv");
if(csv != null)
{
csvData = csv.GetCSVEntry(0, 1);
Log("entry at 0,1 : " + csvData);
}
}