Skip to content

Commit 030ceb2

Browse files
authored
Merge pull request #3 from gyk92/master
修复路径错误
2 parents 854088f + da6be96 commit 030ceb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FirClient/Assets/Editor/BaseEditor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ public static long FileSize(string filePath)
164164
[MenuItem("Assets/Create/Game/Game Settings", false, 82)]
165165
static void CreateGameSettings()
166166
{
167-
string gameSettingPath ="Assets/Res/Resources/"+ AppConst.GameSettingPath+".asset";
168-
string fullPath = AppDataPath + gameSettingPath;
167+
string gameSettingPath ="Assets/res/Resources/"+ AppConst.GameSettingPath+".asset";
168+
string fullPath = AppDataWithoutAssetPath + gameSettingPath;
169169
if (!File.Exists(fullPath))
170170
{
171171
var scriptObj = ScriptableObject.CreateInstance<GameSettings>();

0 commit comments

Comments
 (0)