When interacting with Google Sheets or similar tabular data sources, ranges define specific sections of the spreadsheet to read or modify. These ranges are essential for fetching data dynamically, especially in Unity projects that rely on external data for configuration or runtime updates.
General Format:
[StartColumn][StartRow]:[EndColumn][EndRow]
A, B, C).1, 2, 3).Examples:
A:H: Selects all rows from columns A to H.A2:H: Selects all rows from row 2 onwards, from columns A to H.A2:H6: Selects rows 2 through 6, from columns A to H.Range: A:H
Description:
Example Data:
Column A | Column B | Column C | ... | Column H
---------|----------|----------|-----|---------
Value 1 | Value 2 | Value 3 | ... | Value 8
...
Use Case: Fetching all data for a database where rows are dynamically added over time.
Range: A2:H
Description:
Example Data:
Row 1 (Skipped) | Header 1 | Header 2 | Header 3 | ... | Header 8
Row 2 | Value 1 | Value 2 | Value 3 | ... | Value 8
...
Use Case: Skipping header rows when parsing data into objects.