Hi,
I was wondering if there was a way to add categories in the @Editable fields so it would show in the editor. That way, I would be able to divide all my editable fields in logical dropdowns in the editor.
Hi,
I was wondering if there was a way to add categories in the @Editable fields so it would show in the editor. That way, I would be able to divide all my editable fields in logical dropdowns in the editor.
Put editable fields in seperate classes and make the classes editable and concrete:
your_device := class(creative_device):
@editable Category1 : options = options{}
options := class<concrete>():
@editable Option1 : int = 1
Just to be sure, to access the Option1 parameter you would do Category1[0] and that would immediately give you the integer value?
I don’t know if what you are suggesting is valid syntax. I would use Category1.Option1
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.