From d22ff48b3d34c805a6328fa5b615f1ac586d3090 Mon Sep 17 00:00:00 2001 From: Ricardo Buring Date: Sun, 4 Sep 2022 10:32:21 +0200 Subject: Create GDExtension classes for PhysicsServer2D This allows a 2D physics server created entirely from GDExtension. Based on the structure of PhysicsServer3DExtension by reduz. --- modules/mono/editor/bindings_generator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/mono') diff --git a/modules/mono/editor/bindings_generator.cpp b/modules/mono/editor/bindings_generator.cpp index d70a1e6c88..a77c18eff0 100644 --- a/modules/mono/editor/bindings_generator.cpp +++ b/modules/mono/editor/bindings_generator.cpp @@ -113,7 +113,7 @@ StringBuilder &operator<<(StringBuilder &r_sb, const char *p_cstring) { #define C_METHOD_MANAGED_FROM_SIGNAL C_NS_MONOMARSHAL ".ConvertSignalToManaged" // Types that will be ignored by the generator and won't be available in C#. -const Vector ignored_types = { "PhysicsServer3DExtension" }; +const Vector ignored_types = { "PhysicsServer2DExtension", "PhysicsServer3DExtension" }; void BindingsGenerator::TypeInterface::postsetup_enum_type(BindingsGenerator::TypeInterface &r_enum_itype) { // C interface for enums is the same as that of 'uint32_t'. Remember to apply -- cgit v1.2.3