Hi everyone !
After tons of googling and documentation reading, I still can't figure out how to do one thing :
If I have a settings script/class that looks like this :
#settings.gd
extends Node
export var size : float
export var color : Color
And I use it in some other script (attached to a Planet node) that looks like this :
#planet.gd
const Settings= preload("res://Scripts/settings.gd")
var settings : Settings
How can I export the settings variable so I can access the size and color variables from the Planet node ?
Thanks in advance !
edit : the Planet node is just an empty node containing mesh instances and things like that