18 lines
575 B
GDScript
18 lines
575 B
GDScript
extends SceneTree
|
|
var out := PackedStringArray()
|
|
func _init() -> void:
|
|
for m in ResourceLoader.get_class_method_list(""):
|
|
pass
|
|
# Probe class DB / resource loader for import-related calls
|
|
for m in ResourceLoader.get_class_method_list("ResourceLoader"):
|
|
var sm := str(m)
|
|
if "import" in sm or "cache" in sm:
|
|
out.append(sm)
|
|
print("ResourceLoader methods:", out.size())
|
|
for line in out:
|
|
print(line)
|
|
|
|
# Also check the filesystem/importer path via the singleton method list of a generic class
|
|
var r := ResourceLoader.new() # will error, just to enumerate
|
|
quit()
|