You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Create GDExtension classes for PhysicsServer2D
This allows a 2D physics server created entirely from GDExtension. Based on the structure of PhysicsServer3DExtension by reduz.
This commit is contained in:
@@ -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<String> ignored_types = { "PhysicsServer3DExtension" };
|
||||
const Vector<String> 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
|
||||
|
||||
Reference in New Issue
Block a user