Skip to content

Commit 4e16d9c

Browse files
committed
Removed interactive mode from asset importer to allow for multiple assets to get imported
1 parent 3f29b7d commit 4e16d9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MLAPI-Editor/MLAPIEditor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ private void InstallRelease(int index)
113113
File.WriteAllBytes(Application.dataPath + "/MLAPI/Lib/" + releases[index].assets[i].name, www.bytes);
114114

115115
if (releases[index].assets[i].name.EndsWith(".unitypackage"))
116-
AssetDatabase.ImportPackage(Application.dataPath + "/MLAPI/Lib/" + releases[index].assets[i].name, true);
116+
AssetDatabase.ImportPackage(Application.dataPath + "/MLAPI/Lib/" + releases[index].assets[i].name, false);
117117
}
118118

119119
EditorPrefs.SetString("MLAPI_version", releases[index].tag_name);

0 commit comments

Comments
 (0)