Replace complex Project Settings with a plug-in API #35
Labels
enhancement
New feature or request
upstream
Depends on an upstream issue or PR, can't be solved immediately
Many project settings are too complex for their own good, using RegEx or Dictionary for very complex lookups and string manipulation.
Instead it would be good to have a plug-in API that allows the user to implement virtual methods like
func _compute_locale(path: String) -> String
which could in the end just do a RegEx lookup, but also anything else.Not sure about the registration mechanism, since it would need to be available as soon as ResourceLoader is ready (during project startup). Maybe refer to plug-in classes by path or by class_name in ProjectSettings?
May depend on godot-rust/gdext#426
The text was updated successfully, but these errors were encountered: