Hello, I am trying to make something similar to structs in unity in the inspector. I want to hold 3 variables (object, string, and float) with the object being something in the scene, so that I can just drag and drop whatever object it is without it needing to be a resource in the file system. Also, I want to have the option to "add element", which would automatically add another set of the 3 variables ready to be stored. I tried using a dictionary, but it seems those don't work with the way I want to implement it. I am trying to use an inner class in the code but it also doesn't seem to work. Perhaps I am missing something that would better benefit me.
For clarity, my goal here is to create a list of outputs based on things that enter a trigger, and making that logic local to the scene object.
class Output:
extends Node
@export var object: Object
@export var signalString : String
@export var delay : float
@export var inspector_test : Array[Output] = []