Skip to content

Instantly share code, notes, and snippets.

@yuandra
yuandra / ChangeTextureImportSettings.cs
Created January 5, 2014 05:41
unity extend editor class for texture importing
using UnityEngine;
using UnityEditor;
// /////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Batch Texture import settings modifier.
//
// Modifies all selected textures in the project window and applies the requested modification on the
// textures. Idea was to have the same choices for multiple files as you would have if you open the
// import settings of a single texture. Put this into Assets/Editor and once compiled by Unity you find