Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 91373

Cannot read property 'player' of null

$
0
0

@1071121140 写道:

// 根据 player 节点位置判断距离

this.game.player.getPosition();

在 Star.jsw获取不到 this.game的对象

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 91373

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>