Request: A [ToggleList] attribute that works much like the AssetList attribute but where you provide its source
Issue #54
new
The AsssetList attribute is pretty neat, but I'd love to use the functionality of checkboxes for more than just assets.
For example, one use case might be a checkbox that lets you include/exclude components/MonoBehaviours on a GameObject (not just a prefab components).
Alternatively, you could generalize this to take any list as argument (or function returning a list); the attribute would then generate checkboxes for every item in the list, and return a subset (the checked ones) for the property.
Comments (6)
-
-
- changed milestone to Version 1.0.5.0
- changed title to Request: A [ToggleList] attribute that works much like the AssetList attribute but where you provide its source
-
- changed milestone to 1.0.5.0
-
- changed milestone to 1.0.6.0
The 1.0.5 patch is already one of the biggest patches we've done, so we're pushing this to 1.0.6.
-
This is in progress, but it will not be ready for patch 1.0.6.0. Pushing to patch 1.1.0.0
-
- Log in to comment
Yeah i would love that as well.
I've thought a bit about adding a more generic version of AssetLists, where you provide the elements that should be selectable. It could look something like this:
We will definitely add that at some point. Soon.