Skip to content

Commit b9460ba

Browse files
committed
Use string interpolation instead of concatenation
1 parent 3bcb1ac commit b9460ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/Extensions/MeshExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static void Save(this Mesh mesh, string assetName)
1919
{
2020
#if UNITY_EDITOR
2121
if (mesh != null) {
22-
AssetDatabase.CreateAsset(mesh, "Assets/" + assetName + ".mesh");
22+
AssetDatabase.CreateAsset(mesh, $"Assets/{assetName}.mesh");
2323
}
2424
#endif
2525
}

0 commit comments

Comments
 (0)