let Object.get_class() work with custom types #5173
Replies: 1 comment
-
Duplicate of godotengine/godot#21789. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently can't use
Object.get_class()
for custom types:What about have a virtual method
Object._get_class()
to override and customize it?Or even better, just let Godot return the name of the custom type as string.
Beta Was this translation helpful? Give feedback.
All reactions