mirror of
https://github.com/Relintai/props.git
synced 2024-11-08 10:02:14 +01:00
Fixed binding for tiling_type.
This commit is contained in:
parent
3c3e057182
commit
78f049e8c9
@ -281,7 +281,7 @@ TiledWallData::~TiledWallData() {
|
||||
void TiledWallData::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("get_tiling_type"), &TiledWallData::get_tiling_type);
|
||||
ClassDB::bind_method(D_METHOD("set_tiling_type", "texture"), &TiledWallData::set_tiling_type);
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "tiling_type", PROPERTY_HINT_ENUM, "17/17:Texture"), "set_tiling_type", "get_tiling_type");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "tiling_type", PROPERTY_HINT_ENUM, TiledWallData::BINDING_STRING_TILED_WALL_TILING_TYPE), "set_tiling_type", "get_tiling_type");
|
||||
|
||||
//textures
|
||||
ClassDB::bind_method(D_METHOD("get_texture", "index"), &TiledWallData::get_texture);
|
||||
|
Loading…
Reference in New Issue
Block a user