![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | websterek |
Hi
I have create extension of Position3D class with my custom name, it looks like this:
extends Position3D
class_name CrossControl
But when I’m asking for the class using get_class()
function it’s still returning me original name (Position3D).
How to create a new class that returns its name correctly?
For now I’m just overriding get_class()
function but I’m not sure that it’s correct way?
https://github.com/godotengine/godot/issues/21789
Dlean Jeans | 2019-07-07 10:24