Files
MingSimulator/TypeScript/entry.ts
T

12 lines
385 B
TypeScript

import * as UE from 'ue'
import {argv} from 'puerts';
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----------------------')