I tried that before and it didn't work.
func _ready():
var settings = EditorSettings.new()
print(settings.get_setting("filesystem/directories/default_project_path"))
I got this error:
Nonexistent function 'get_setting' in base 'NIL'
I also tried it this way
tool
extends Control
var settings = EditorSettings.new()
func _ready():
print(settings.get_setting("filesystem/directories/default_project_path"))
I got this error:
Nonexistent function 'get_setting' in base 'NIL'
I also tried it this way
tool
extends Control
var settings = EditorSettings
func _ready():
print(settings.get_setting("filesystem/directories/default_project_path"))
I got this error:
Nonexistent function 'get_setting' in base 'GDscriptNativeClass'
So I am still not sure how to use it. All the methods and settings were there, but only some work. 'propertylist()' works, hasmethod('method name') works etc.