mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #71649 from raulsntos/array-indexer
Add property usage to array indexer
This commit is contained in:
commit
ab5c75b9ad
4 changed files with 19 additions and 2 deletions
|
@ -750,6 +750,7 @@ void DocTools::generate(bool p_basic_types) {
|
|||
MethodInfo mi;
|
||||
mi.name = "operator []";
|
||||
mi.return_val.type = Variant::get_indexed_element_type(Variant::Type(i));
|
||||
mi.return_val.usage = Variant::get_indexed_element_usage(Variant::Type(i));
|
||||
PropertyInfo arg;
|
||||
arg.name = "index";
|
||||
arg.type = Variant::INT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue