Skip to content

Commit

Permalink
Added clarification to gameobject
Browse files Browse the repository at this point in the history
  • Loading branch information
dalkia committed Mar 12, 2024
1 parent 46ad211 commit 14bbfd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public async void ConvertLODs()
{
Directory.Delete(lodPathHandler.tempPath, true);
Utils.Exit(1);
return;
}

Directory.Delete(lodPathHandler.tempPath, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private void UpdatePaths(string newFilePath)
Directory.CreateDirectory(materialsPath);
materialsPathRelativeToDataPath = PathUtils.GetRelativePathTo(Application.dataPath, materialsPath);

prefabPathRelativeToDataPath = PathUtils.GetRelativePathTo(Application.dataPath, fileDirectory + "/" + fileNameWithoutExtension + ".prefab");
prefabPathRelativeToDataPath = PathUtils.GetRelativePathTo(Application.dataPath, fileDirectory + "/" + fileNameWithoutExtension + " (gameobject).prefab");
// Save assets and refresh the AssetDatabase
AssetDatabase.SaveAssets();
AssetDatabase.Refresh();
Expand Down

0 comments on commit 14bbfd0

Please sign in to comment.