#Export typed array doesn't contraint type
8 messages · Page 1 of 1 (latest)
8 messages · Page 1 of 1 (latest)
I have this typed array export :
@export var general : Array[Rule] = ...
But when modifying the general property in the inspector, I can choose from any resource possible, instead of only being able to add a Rule to the array...
I was unable to reproduce this. 🤷♂️
Huh. It just works on your end ?
Found the issue. Apparently, a default value breaks it.
Nice.