You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
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:
@@ -536,7 +536,7 @@ void GDFunctions::call(Function p_func,const Variant **p_args,int p_arg_count,Va
|
||||
case TYPE_EXISTS: {
|
||||
|
||||
VALIDATE_ARG_COUNT(1);
|
||||
r_ret = ObjectTypeDB::type_exists(*p_args[0]);
|
||||
r_ret = ClassDB::class_exists(*p_args[0]);
|
||||
|
||||
} break;
|
||||
case TEXT_CHAR: {
|
||||
|
||||
Reference in New Issue
Block a user