小地图进度微调,人物脚本调整
This commit is contained in:
1 parent
8ca32cd1ae
commit
2b4b2c4f70
15 files changed
+3626
-3085
No files matched your search
@@ -16,14 +16,13 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
{
|
||||
public class Helper
|
||||
{
|
||||
public static string GetDataDir(string pathName)
|
||||
public static string CreateDirectoryIfNotExsit(string path)
|
||||
{
|
||||
var dirName = Application.dataPath + "/" + pathName;
|
||||
if (!Directory.Exists(dirName))
|
||||
if (!Directory.Exists(path))
|
||||
{
|
||||
Directory.CreateDirectory(dirName);
|
||||
Directory.CreateDirectory(path);
|
||||
}
|
||||
return dirName;
|
||||
return path;
|
||||
}
|
||||
|
||||
public static void DelectDir(string srcPath)
|
||||
|
||||
Reference in new issue
Block a user