Skip to content

Commit

Permalink
Use Path.Combine instead of / for path separators.
Browse files Browse the repository at this point in the history
  • Loading branch information
theepicsnail committed Jan 5, 2021
1 parent dc6dbbd commit 99600ad
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,19 +256,19 @@ private void ensureDefaults()

private string generatedAssetPath(string name)
{
return Path.Combine("Assets\\Snail\\Marker3.0\\Generated", avatarTransform.name, name);
return Path.Combine("Assets","Snail","Marker3.0","Generated", avatarTransform.name, name);
}
private string generatedFilePath(string name)
{
return Path.Combine(generatedFolderPath(), name);
}
private string generatedFolderPath()
{
return Path.Combine(Application.dataPath, "Snail\\Marker3.0\\Generated\\", avatarDescriptor.name);
return Path.Combine(Application.dataPath, "Snail","Marker3.0","Generated", avatarDescriptor.name);
}
private string templateAssetPath(string name)
{
return Path.Combine("Assets\\Snail\\Marker3.0\\Templates", name);
return Path.Combine("Assets","Snail","Marker3.0","Templates", name);
}
private string generatedGestureName()
{
Expand Down

0 comments on commit 99600ad

Please sign in to comment.