【热更工具】文件大小显示错误

dev_chengFeng
gaoxin 2021-08-02 10:22:00 +08:00
parent b845c0bece
commit 7d1c748a75
1 changed files with 1 additions and 1 deletions

View File

@ -761,7 +761,7 @@ namespace GameEditor.FrameTool
_scp = EditorGUILayout.BeginScrollView(_scp);
foreach(ResourceFile rf in diffList)
{
EditorGUILayout.LabelField(rf.fileName+"|"+(rf.size / 1048576).ToString("0.00") + "M");
EditorGUILayout.LabelField(rf.fileName+"|"+(rf.size / 1048576f).ToString("0.00") + "M");
}
EditorGUILayout.LabelField("files.unity3d");
EditorGUILayout.LabelField(AppConst.GameConfigFile);