Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在检查 stage.hit(..) 作为演员或 null 时遇到问题
Actor actor = stage.hit(touchPoint.x, touchPoint.y, true); if(null != actor){ // something }
在这里调试后我知道演员正在为空,但仍然控制进入 if 循环
上面的代码有问题吗??
谢谢