Hi everyone.
I'm interested is it's possible to find, if root node from PackedScene is inheriting specific class. It is possible to determine if one class is inherited from another with godot::_TagDB::is_type_compatible
, which accepts type tags (basically std::size_t). This is ok, but the problem that from PackedScene only thing we can find is type name (through SceneState::get_node_type), and I haven't found conversion of name to the type tag..
So, is it possible to convert type name into type tag, or maybe some another way of knowing if root node in PackedScene is inheriting (or not) from some base type, without instancing Nodes from resource?