Tollainmear 发表于 2017-5-6 16:47:32

求助:Pawn调用Widget的CustomFunction时候报错

    我为Pawn类角色添加了一个按Tab键暂停的功能,当按Tab时调用Widget内的PauseAction功能,但是当触发的时候,提示:Error Blueprint Runtime Error: Accessed None trying to read property StartMenu from function: 'ExecuteUbergraph_My_Cart_2Wheel' from node: Pause Action in graph: EventGraph in object: My_Cart_2Wheel with description: Accessed None trying to read property StartMenu
这是我的Pawn类蓝图链接方式:调试中我发现Pawn在激活PauseAction之后,信号并没有传递给Widget。。。。请问应该怎么解决。


另外,我发现暂停的游戏中Pawn类是不能接受键盘按钮信息的,那么我想在暂停中,再次按Tab恢复暂停,应该如何实现?


页: [1]
查看完整版本: 求助:Pawn调用Widget的CustomFunction时候报错