上传记录增加本地保存逻辑
This commit is contained in:
1 parent
614d067d25
commit
9993752ff5
6 files changed
+4200
-3948
No files matched your search
@@ -16,9 +16,14 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
{
|
||||
public class Helper
|
||||
{
|
||||
public static string GetDataDire(string pathName)
|
||||
public static string GetDataDir(string pathName)
|
||||
{
|
||||
return @"D:\unityproject\Test\"+ pathName;
|
||||
var dirName = Application.dataPath + "/" + pathName;
|
||||
if (!Directory.Exists(dirName))
|
||||
{
|
||||
Directory.CreateDirectory(dirName);
|
||||
}
|
||||
return dirName;
|
||||
}
|
||||
public static double AveragePower(IList<TargetData> list)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user