Detailed Property Reference

Namespace: Canley.Utility.CSV.Standard
Class: CSVTable<T>

Definition

public List<T> Records { get; set; }
  • Description: The live list of ScriptableObject data instances currently held in memory.

  • Workflow:

    1. Population: Automatically populated when loading a table from disk via the parsing and hydration pipeline.
    2. Mutation: Tracks live runtime modifications made to records, which are then serialised back to disk when saving.
  • Returns: List<T> - The collection of strongly-typed records managed by the table.

  • Example:

public void LogTotalRecords(CSVTable<ItemRecord> itemTable)
{
    Debug.Log(message: $"Total records currently loaded: {itemTable.Records.Count}");
}

TIP

Any changes made directly to the objects inside this list are reflected globally in memory and will be written out to the CSV file when you call SaveTable.