Load

Load<T>(string key)

Purpose: Loads data of type T from a specified file path.

Parameters:

  • key: A string used to determine the file path for loading the data.

Return Value: Returns the loaded data of type T or null if loading fails.

Sample uses:

public void Load()
{
    _data = SaveManager.Load<DATA>(DATA_KEY);
}

Last updated