Created
September 12, 2023 12:40
-
-
Save gustavopsantos/99fca7c6f6206f8aa1e900a3300034a2 to your computer and use it in GitHub Desktop.
thread safe equivalent for UnityEngine.Application.dataPath
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
public static class GetApplicationDataPath | |
{ | |
public static string Get() | |
{ | |
return Path.Combine(Directory.GetCurrentDirectory(), "Assets").Replace('\\', '/'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment