Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: C.J.Geringer on October 14, 2017, 10:46:13 PM

Title: U Gui Drop Down Remove Option
Post by: C.J.Geringer on October 14, 2017, 10:46:13 PM
I would like to request ana ction that allows me to remove a specific option by name from a Drop down U GUI element.

Right now it is only possible to clear all options.
Title: Re: U Gui Drop Down Remove Option
Post by: djaydino on October 15, 2017, 12:34:35 AM
Hi,
The problem for this is that i can only find a clear option on the unity documentation.
so i don't think it is possible.

There is a clear action and an add action.

another thing you could do is make 2 dropdown's and activate the one you need at the time.
Title: Re: U Gui Drop Down Remove Option
Post by: C.J.Geringer on October 15, 2017, 05:21:01 AM
I see, thanks for the reply.
Title: Re: U Gui Drop Down Remove Option
Post by: jeanfabre on October 17, 2017, 02:48:48 AM
Hi,

 you simply clear and reconstruct your dropdown items. Maintain your items in an array ( or two arrays( and simply edit it when appropriate ( clear and populate the dropdown).

Bye,

 Jean