Skip to content

Commit

Permalink
Update MujocoBinaryRetriever.cs
Browse files Browse the repository at this point in the history
Update console output.
  • Loading branch information
elysia-best authored Nov 9, 2023
1 parent 6d45dd2 commit 5b765b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions unity/Editor/Bindings/MujocoBinaryRetriever.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ static void RegisteredPackagesEventHandler(
}
}

static void GenerateMetaFile(string file) {
string metaFileName = file + ".meta";
static void GenerateMetaFile(string filePath) {
string metaFileName = filePath + ".meta";

// Check if .meta file exists.
if (File.Exists(metaFileName)) {
Debug.Log("Meta file for " + file + " is already created!");
Debug.Log("Meta file for " + filePath + " already exists.");
return;
}

Expand All @@ -88,7 +88,7 @@ static void GenerateMetaFile(string file) {
writer.WriteLine(" assetBundleVariant: ");
}

Debug.Log("Meta file for " + file + " created!");
Debug.Log("MuJoCo library successfully imported to " + filePath);
}
}
}

0 comments on commit 5b765b8

Please sign in to comment.