playMaker

Author Topic: Custom Editor Question - Drawing picker for Variable vs. value  (Read 654 times)

allender

  • Playmaker Newbie
  • *
  • Posts: 17
In FSM actions, FSM type variables have a picker on the right side to pick between FSM variable and a specific value.  If I create a custom editor for my action, if I use EditField, I can get the dropdown picker for variable vs. value).  But is there a way O can do this manually so that I can change the way the field is edited.

I have an enum, and using FSMEnum works, but the enum has 100s of values and it's impossible to scroll through all the values.  I need to do somethign else there so was going to customize it, but I'm not sure how to still allow user to pick  between variable and other values.