feat: integrate ts2lua-unreal v0.2.1 and UnLua TypeScript (.d.ts) generator
This commit is contained in:
1 parent
ebce41f347
commit
ee2e62bb34
282 files changed
+141794
-261
No files matched your search
@@ -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));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user