react界面跑通,调试不成功

This commit is contained in:
2024-12-16 13:03:08 +08:00
parent 532e65e6fb
commit c839575748
5 changed files with 34 additions and 3 deletions
+2
View File
@@ -4,7 +4,9 @@ import {ReactUMG} from 'react-umg';
import * as UI from './ui';
console.log('--------------------------0----------------------')
debugger
//用React来写UI
let world = (argv.getByName("GameInstance") as UE.GameInstance).GetWorld();
ReactUMG.init(world);
UI.Load();
console.log('--------------------------1----------------------')