Removed interactive mode from asset importer to allow for multiple assets to get imported
This commit is contained in:
parent
3f29b7d8ef
commit
4e16d9c913
@ -113,7 +113,7 @@ public class MLAPIEditor : EditorWindow
|
||||
File.WriteAllBytes(Application.dataPath + "/MLAPI/Lib/" + releases[index].assets[i].name, www.bytes);
|
||||
|
||||
if (releases[index].assets[i].name.EndsWith(".unitypackage"))
|
||||
AssetDatabase.ImportPackage(Application.dataPath + "/MLAPI/Lib/" + releases[index].assets[i].name, true);
|
||||
AssetDatabase.ImportPackage(Application.dataPath + "/MLAPI/Lib/" + releases[index].assets[i].name, false);
|
||||
}
|
||||
|
||||
EditorPrefs.SetString("MLAPI_version", releases[index].tag_name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user