Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | AiTechEye |
im making a plugin, that lists all game/project objects (scenes), and i need to get the class_name and icon from the scenes instead of messing with files.
to be clear, get:
class_name name,"picture.png"
for example:
var scene = load("res://scene.tscn").instance()
var icon = scene.get_class_icon()
var name = scene.get_class_name()
is it possbale at all?