GetCSVEntry()
Updated: 4 Dec 2023
Updated: 4 Dec 2023
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.
string GetCSVEntry(int row_index, int column_index);
column_index | The column index to retrieve the CSV data from. |
row_index | The row index to retrieve the CSV data entry from. |
function Update()
{
csv = Document.FindResourceByName("test.csv");
if(csv != null)
{
csvData = csv.GetCSVEntry(0, 1);
Log("entry at 0,1 : " + csvData);
}
}