playMaker

Author Topic: U Gui Drop Down Remove Option  (Read 2541 times)

C.J.Geringer

  • Playmaker Newbie
  • *
  • Posts: 48
U Gui Drop Down Remove Option
« 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.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: U Gui Drop Down Remove Option
« Reply #1 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.

C.J.Geringer

  • Playmaker Newbie
  • *
  • Posts: 48
Re: U Gui Drop Down Remove Option
« Reply #2 on: October 15, 2017, 05:21:01 AM »
I see, thanks for the reply.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: U Gui Drop Down Remove Option
« Reply #3 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