Is there a way for exported params to appear for autoloaded singletons?

Godot Version

4.3

Question

I have an autoloaded script/singleton system where it would be useful to define a few Curve2D params but the params dont appear in the inspector after using @export

I assume this is expected behavior from the inspector since its just a script rather than an instance or scene- if so, what are some good practices for defining global constant data that isn’t trivial to set in script (like with Curves)?

Ah nevermind, I realized I should create the Curve resource and preload it in the global script.

1 Like