1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Updated core_object (markdown)

reduz
2014-04-03 10:51:14 -07:00
parent 5620898faa
commit 35c771b70f

@@ -26,8 +26,9 @@ ObjectTypeDB is a static class that hold the entire list of registered classes t
Classes are registered by calling:
```c++
ObjectTypeDB::register_type<MyCustomType>()
```
Registering it will allow the type to be instanced by scripts, code, or creating them again when deserializing.
Registering as virtual is the same but it can't be instanced.