ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
This commit is contained in:
@@ -352,7 +352,7 @@ void Body2DSW::add_contact(const Vector2& p_local_pos,const Vector2& p_local_nor
|
||||
|
||||
class Physics2DDirectBodyStateSW : public Physics2DDirectBodyState {
|
||||
|
||||
OBJ_TYPE( Physics2DDirectBodyStateSW, Physics2DDirectBodyState );
|
||||
GDCLASS( Physics2DDirectBodyStateSW, Physics2DDirectBodyState );
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user