feat: integrate ts2lua-unreal v0.2.1 and UnLua TypeScript (.d.ts) generator

This commit is contained in:
szy73711 committed 2026-11-29 03:08:03 +08:00
1 parent ebce41f347
commit ee2e62bb34
282 files changed
+141794 -261

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import * as Log from "../Framework/Log";
@unlua
export default class LuaCharacter extends UE.ALuaCharacter {
ReceiveBeginPlay(): void {
Log.Info("LuaCharacter:ReceiveBeginPlay()");
}
ReceiveEndPlay(EndPlayReason: number): void {
Log.Info("LuaCharacter:ReceiveEndPlay(reason=%s)", tostring(EndPlayReason));
}
}