最主要使用的类:
AssetDatabase
代码改变Texture属性,读取标记改为True
string path = AssetDatabase.GetAssetPath(BulletTrack);
TextureImporter A = (TextureImporter)AssetImporter.GetAtPath(path);
A.isReadable = true;
AssetDatabase.ImportAsset(path, ImportAssetOptions.ForceUpdate);