mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
The function in ClassDB is register_class not register_types
The function in ClassDB is register_class not register_types
This commit is contained in:
committed by
Rémi Verschelde
parent
2a0a070ccc
commit
e0769435ba
@@ -141,7 +141,7 @@ With the following contents:
|
||||
|
||||
void register_summator_types() {
|
||||
|
||||
ClassDB::register_type<Summator>();
|
||||
ClassDB::register_class<Summator>();
|
||||
}
|
||||
|
||||
void unregister_summator_types() {
|
||||
|
||||
Reference in New Issue
Block a user