浏览代码

Add bind for TileMap::get_cell_autotile_coord

Guilherme Felipe 6 年之前
父节点
当前提交
9eb4bb044f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      scene/2d/tile_map.cpp

+ 2 - 0
scene/2d/tile_map.cpp

@@ -1630,6 +1630,8 @@ void TileMap::_bind_methods() {
 	ClassDB::bind_method(D_METHOD("is_cell_y_flipped", "x", "y"), &TileMap::is_cell_y_flipped);
 	ClassDB::bind_method(D_METHOD("is_cell_transposed", "x", "y"), &TileMap::is_cell_transposed);
 
+	ClassDB::bind_method(D_METHOD("get_cell_autotile_coord", "x", "y"), &TileMap::get_cell_autotile_coord);
+
 	ClassDB::bind_method(D_METHOD("fix_invalid_tiles"), &TileMap::fix_invalid_tiles);
 	ClassDB::bind_method(D_METHOD("clear"), &TileMap::clear);