Save

Save(string key, AudioClip audioClip)

Purpose: Saves an AudioClip object synchronously to storage.

Parameters:

  • key: A unique string identifier used to create the file path where the AudioClip will be saved.

  • audioClip: The AudioClip object to be saved.

Return Value: Returns true if the AudioClip is successfully saved, otherwise returns false.

Sample uses:

public void Save()
{
    bool result = AudioSaveManager.Save(DATA_KEY, _audioClip);
}

Last updated