Load

Load(string key)

Purpose: Loads a saved AudioClip from storage.

Parameters:

  • key: The unique identifier used to locate the saved AudioClip.

Return Value: Returns the loaded AudioClip or null if the load operation failed (e.g., if the data is empty or missing).

Sample uses:

public void Load()
{
    _audioSource.clip = AudioSaveManager.Load(DATA_KEY);
}

Last updated