File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -80,11 +80,6 @@ protected override void TestAPI(string[] args)
80
80
// 同步获取文件状态
81
81
private void RunSync ( string path )
82
82
{
83
- WX . ShowModal ( new ShowModalOption ( )
84
- {
85
- content = "StatSync暂无法运行"
86
- } ) ;
87
- return ;
88
83
var fileStats = _fileSystemManager . StatSync ( PathPrefix + path ) ;
89
84
90
85
UpdateResults ( fileStats ) ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ MonoBehaviour:
15
15
entryScriptTypeName : Stat
16
16
entryName : " \u83B7\u53D6\u6587\u4EF6 /\u6587\u4EF6\u5939\u7684\u72B6\u6001\u4FE1\u606F "
17
17
entryAPI : Stat(Sync)
18
- entryDescription : " <color=red> \u6CE8\u610F\uFF1A SDK Stat \u3001 StatSync \u4FEE\u590D\u4E2D\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528 </color> "
18
+ entryDescription :
19
19
optionList :
20
20
- optionName : " \u6267\u884C\u65B9\u5F0F "
21
21
availableOptions :
Original file line number Diff line number Diff line change @@ -26,4 +26,8 @@ public void loadFont() {
26
26
var font = WX . LoadFont ( "TencentSans-W7.subset.ttf" ) ;
27
27
Debug . Log ( font ) ;
28
28
}
29
+
30
+ public void Destroy ( ) {
31
+ WX . SetPreferredFramesPerSecond ( 60 ) ;
32
+ }
29
33
}
You can’t perform that action at this time.
0 commit comments