Hello together!
I like to use functions for objects that I create regularly.
Now my problem is that I do not know how the List objects type attributes are called internally. "List box" and "Dropdown list" do both not work if I set the type to these.
Although the List objects types are called "List box" and "Dropdown list" in the properties inside the editor these do not seem to be the right type names.
I tried to somehow log the lists javascript object to see if there is the type shown.
Unfortunately, no. Or I can't read them.
Does anybody know Ashley how I can see the available object attributes for a given object?
Thank you in advance!
Edit:
I want to add that with the Text input object modifying the type at runtime did indeed work. "Text", "Password", "Email", "Number" etc.
Unfortunately it cannot be changed.
But you can compare.
For example, you can find out its type
"dropdown list" or "listbox".
Inside the game you can get its type.