1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Tweaks after feedback

This commit is contained in:
Ben Rog-Wilhelm
2018-12-08 00:54:12 -08:00
parent f13f2d512f
commit b26487a2b4
4 changed files with 11 additions and 21 deletions

View File

@@ -2479,6 +2479,7 @@ void CSharpScript::get_script_method_list(List<MethodInfo> *p_list) const {
if (!script_class)
return;
// TODO: Filter out things unsuitable for explicit calls, like constructors.
const Vector<GDMonoMethod *> &methods = script_class->get_all_methods();
for (int i = 0; i < methods.size(); ++i) {
p_list->push_back(methods[i]->get_method_info());