/// <summary> /// Gathers parameters from the specified AudioClip. /// </summary> /// <param name="window">The asset window.</param> public void OnLoad(AudioClipWindow window) { // Link _window = window; // Try to restore target asset AudioClip import options (useful for fast reimport) AudioImportSettings.TryRestore(ref ImportSettings, window.Item.Path); // Prepare restore data PeekState(); }
/// <summary> /// Clears temporary data. /// </summary> public void OnClean() { // Unlink _window = null; }