Skip to content

Commit 7d7ceb1

Browse files
committed
fix:修改stat
1 parent 16e973f commit 7d7ceb1

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

Demo/API_V2/Assets/API/FileSystem/Stat/Stat.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,6 @@ protected override void TestAPI(string[] args)
8080
// 同步获取文件状态
8181
private void RunSync(string path)
8282
{
83-
WX.ShowModal(new ShowModalOption()
84-
{
85-
content = "StatSync暂无法运行"
86-
});
87-
return;
8883
var fileStats = _fileSystemManager.StatSync(PathPrefix + path);
8984

9085
UpdateResults(fileStats);

Demo/API_V2/Assets/API/FileSystem/Stat/StatSO.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MonoBehaviour:
1515
entryScriptTypeName: Stat
1616
entryName: "\u83B7\u53D6\u6587\u4EF6/\u6587\u4EF6\u5939\u7684\u72B6\u6001\u4FE1\u606F"
1717
entryAPI: Stat(Sync)
18-
entryDescription: "<color=red>\u6CE8\u610F\uFF1ASDK Stat\u3001StatSync\u4FEE\u590D\u4E2D\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528</color>"
18+
entryDescription:
1919
optionList:
2020
- optionName: "\u6267\u884C\u65B9\u5F0F"
2121
availableOptions:

Demo/API_V2/Assets/API/Render/Render/Render.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,8 @@ public void loadFont() {
2626
var font = WX.LoadFont("TencentSans-W7.subset.ttf");
2727
Debug.Log(font);
2828
}
29+
30+
public void Destroy() {
31+
WX.SetPreferredFramesPerSecond(60);
32+
}
2933
}

0 commit comments

Comments
 (0)