@su_jiehao 写道:
tileMap==== 9 32
我打印时9行32列,但是let wallGrid:cc.TiledTile = wallLayer.getTiledTileAt(0, 9, true) let afdfd:number = wallLayer.getTileGIDAt(cc.v2(0,9))
2种方法调用都报错
creator 2.2.2
帖子: 2
参与者: 1
@su_jiehao 写道:
tileMap==== 9 32
我打印时9行32列,但是let wallGrid:cc.TiledTile = wallLayer.getTiledTileAt(0, 9, true) let afdfd:number = wallLayer.getTileGIDAt(cc.v2(0,9))
2种方法调用都报错
creator 2.2.2
帖子: 2
参与者: 1