真机调试报“RererenceErroe:self is not defined”错误

小游戏 文章 2020-08-07 00:00 625 0 全屏看文

AI助手支持GPT4.0

真机调试报“RererenceErroe:self is not defined”错误"RererenceErroe: self is not defined" error reported during debugging

真机调试报“RererenceErroe:self is not defined”错误
框架类型 问题类型 操作系统 工具版本
小游戏 Bug Windows v1.03.2005140

在本地和开发者工具上,没有报错。在真机上预览体验版时,报这个错误。但是我的Defines类是个静态类,只注册一些全局变量,且没有self字段。这里所指出的self,指的是什么?

There are no errors reported in the local and developer tools. This error is reported when previewing the experience version on the real machine. However, my definitions class is a static class with only global variables registered and no self field. What does self mean here?

回答:

Forever:

你是自己实现的渲染引擎,还是使用那一款游戏引擎?

运气酸酸酸酸酸酸酸酸酸柠檬精:

这个是行列信息吗,如果是的话去看看应该在那

曾玉成:

上面书写错误,是"且没有self字段"

-EOF-

AI助手支持GPT4.0