Ejemplo n.º 1
0
            /// <summary>
            /// Gathers parameters from the specified texture.
            /// </summary>
            /// <param name="window">The asset window.</param>
            public void OnLoad(CubeTextureWindow 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();
            }
Ejemplo n.º 2
0
 /// <summary>
 /// Clears temporary data.
 /// </summary>
 public void OnClean()
 {
     // Unlink
     _window = null;
 }