Support static methods in C# bindings generator

This commit is contained in:
Raul Santos 2022-03-21 01:25:50 +01:00
parent 9162f27836
commit 83e0e13f4a
No known key found for this signature in database
GPG key ID: B532473AE3A803E4
2 changed files with 43 additions and 18 deletions

View file

@ -136,6 +136,11 @@ class BindingsGenerator {
*/
bool is_vararg = false;
/**
* Determines if the method is static.
*/
bool is_static = false;
/**
* Virtual methods ("virtual" as defined by the Godot API) are methods that by default do nothing,
* but can be overridden by the user to add custom functionality.