Hello,
I'm having a problem trying to create and expose a typed array to the editor.
I want to have a node with an array of Texture 2D. When I bind the property I can see the array exposed in the editor but the type is not set.
I do something like this:
ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "my_array", PROPERTY_HINT_ARRAY_TYPE, "Texture2D"), "set_my_array", "get_my_array");
where am I wrong?
thank you.