puerts icon indicating copy to clipboard operation
puerts copied to clipboard

[Unreal] 希望可以支持类似浏览器控制台的输入输出调试效果

Open stdnxd opened this issue 2 years ago • 4 comments

比如这个效果 https://github.com/ncsoft/Unreal.js/blob/master/doc/images/UnrealJs_JavascriptConsole.gif

stdnxd avatar Apr 09 '22 02:04 stdnxd

本来就支持啊,你用chrome或者ide连过去,就可以在chrome或ide的console输入表达式,甚至还支持真机,unreal.js搞这个多余的,它搞这个要么不知道有现成的,要么当时还没有。

chexiongsheng avatar Apr 09 '22 08:04 chexiongsheng

IDE需要断点的时候才支持输入表达式 非断点的时候 输入表达式无效果

stdnxd avatar Apr 11 '22 02:04 stdnxd

IDE需要断点的时候才支持输入表达式 非断点的时候 输入表达式无效果

那你就用浏览器啊,你不是想要浏览器控制台的效果么?如果你说是chrome浏览器,其实也是cdt用inspector协议连v8,和puerts一样。

chexiongsheng avatar Apr 11 '22 02:04 chexiongsheng

Hello how do i get world object from console? or how to access variables of quickstart.js from console?

image

while in example it works //在FJsEnv启动,调用Start时传入的参数可以通过argv获取 let world = (argv.getByName("GameInstance") as UE.GameInstance).GetWorld();

friuns2 avatar Oct 03 '22 11:10 friuns2