pixshatterer
9 years agoVisitor
Scene Graph node fields valid values
Hi, I have been having a rough time trying to assign a valid value to a stringArray field from XML, so far trying something like:
... but so far I always have this in the debugger:
... is there a way to set those values right?
It would be awesome if documentation had samples about valid values per field type!
<MyComp
id="comp"
messages="[hi, hello, world, none]"
/>
... but so far I always have this in the debugger:
Warnings occurred while creating XML component CarouselItem
-- Type mismatch occurred when setting the "messages" field of a "MyComp" node
... is there a way to set those values right?
It would be awesome if documentation had samples about valid values per field type!