InvexGames / MaterialUI

MaterialUI is a UI kit for Unity that follows Google's official material design guidelines.
http://invexgames.com/materialUI.html
Other
771 stars 200 forks source link

Wiki Entry / Tutorial Requests #15

Open InvexGames opened 9 years ago

InvexGames commented 9 years ago

Hey guys! If you're unsure of what something does, or how to do something, check out the wiki to see if it's there.

If it's not, or you need more info, or a video tutorial, let me know here!

geekoftheweek commented 9 years ago

I'd love to know how to re-populate the listItems in a SelectionBox at runtime. For example, the default options are {A, B, C}. How would I switch those options to {1, 2, 3, 4, 5, 6, 7} in response to some other event, like a button click? Just setting the listItems property doesn't seem to update the internal state properly, so I'm guessing there's more to it. Thanks!

InvexGames commented 9 years ago

Sure thing! I'll make one as soon as I can.

InvexGames commented 9 years ago

Hey geekoftheweek,

I've added a method to re-populate ListItems at runtime - I'll be adding an entry to the wiki and probably making a tutorial at some point, but for now you can find an example in /Examples/xx - SelectionBoxes.

Let me know if that's what you wanted.

Cheers!

geekoftheweek commented 9 years ago

Thank you, both for this update to the code and for the entire library -- it looks fantastic, and has been a huge help. Thank you!