Gets the given cell to a particular value.
If the cell is out of the bounds of the spreadsheet, it will throw a IndexOutOfRange exception.
If the cell is in bounds, but no value has been set for the cell, it will return the default value of the data type you are loading. For example, null for reference types, or 0 for number types.
|T||The type of the data we wish to save to the cell.|
|The column of the cell you want to get the value of.|
|The row of the cell we want to get the value of.|
The value of the cell.
// Create a blank ES3Spreadsheet and load our CSV into it.
var sheet = new ES3Spreadsheet();
// Load values from the spreadsheet
int hitpoints = sheet.GetCell<int>(0,0);
string name = sheet.GetCell<string>(0,1);
transform.position = sheet.GetCell<Vector3>(0,2);