- 完善设置面板的具体功能,全局性的设置项已经可以发挥作用了
- 调整部分项目结构和AB包设置,打包测试设置面板的功能
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
# 音乐配置表
|
||||
# Id AssetName
|
||||
# int string
|
||||
# 音乐编号 策划备注 资源名称
|
||||
1 菜单音乐 music_menu
|
||||
2 战斗音乐 music_background
|
||||
3 关于音乐 music_about
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-1
@@ -2,7 +2,7 @@
|
||||
# Id AssetName UIGroupName AllowMultiInstance PauseCoveredUIForm
|
||||
# int string string bool bool
|
||||
# 界面编号 策划备注 资源名称 界面组名称 是否允许多个界面实例 是否暂停被其覆盖的界面
|
||||
1 弹出框 DialogForm Default True True
|
||||
1 弹出框 DialogForm Dialog True True
|
||||
100 主菜单 MenuForm Default False True
|
||||
101 设置 SettingForm Default False True
|
||||
102 关于 AboutForm Default False True
|
||||
|
||||
Binary file not shown.
@@ -1,6 +0,0 @@
|
||||
# 声音配置表
|
||||
# Id AssetName Priority Volume
|
||||
# int string int float
|
||||
# 声音编号 策划备注 资源名称 优先级(默认0,128最高,-128最低) 音量(0~1)
|
||||
10000 选择音效 select 0 1
|
||||
10001 点击音效 click 0 1
|
||||
Binary file not shown.
+9
-2
@@ -5,10 +5,17 @@ import pandas as pd
|
||||
|
||||
|
||||
def convert_excel_to_txt(folder_path='.'):
|
||||
# 计数器,用于最后统计
|
||||
# ✅ 关键修复:将 '.' 转换为脚本所在目录的绝对路径
|
||||
if folder_path == '.':
|
||||
folder_path = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
print(f"【调试】当前工作目录: {os.getcwd()}")
|
||||
print(f"【调试】遍历起始目录: {folder_path}\n")
|
||||
|
||||
count = 0
|
||||
target_dir = os.path.join(os.path.dirname(__file__), '../Assets/GameMain/DataTables')
|
||||
target_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../Assets/GameMain/DataTables')
|
||||
target_dir = os.path.abspath(target_dir)
|
||||
# ... 后续代码不变
|
||||
|
||||
# 确保目标目录存在
|
||||
os.makedirs(target_dir, exist_ok=True)
|
||||
|
||||
Reference in New Issue
Block a user