36 lines
866 B
C#
36 lines
866 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.IO;
|
|
using UnityEngine;
|
|
|
|
public static class PFConstants
|
|
{
|
|
/// <summary>
|
|
/// 课程训练保存在本地的路径
|
|
/// </summary>
|
|
public static string MapWorkoutRecordFolder
|
|
{
|
|
get
|
|
{
|
|
if(!Directory.Exists(Application.persistentDataPath + "/MapWorkoutRecords/")){
|
|
Directory.CreateDirectory(Application.persistentDataPath + "/MapWorkoutRecords/");
|
|
}
|
|
|
|
return Application.persistentDataPath + "/MapWorkoutRecords/";
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// 设备连接缓存在本地的路径
|
|
/// </summary>
|
|
public static string DeviceCacheFolder
|
|
{
|
|
get
|
|
{
|
|
return Application.persistentDataPath;
|
|
}
|
|
}
|
|
}
|