|
@@ -27,7 +27,7 @@ namespace Assets.StreetLight
|
|
|
|
|
|
private static readonly Lazy<Configuration> lazy = new(() =>
|
|
|
{
|
|
|
- var dataPath = new DirectoryInfo(Application.dataPath).FullName;
|
|
|
+ var dataPath = new DirectoryInfo(Application.streamingAssetsPath).FullName;
|
|
|
var configFilePath = Path.Combine(dataPath, "StreetLight", "Configuration.json");
|
|
|
return JsonConvert.DeserializeObject<Configuration>(File.ReadAllText(configFilePath));
|
|
|
});
|