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