playMaker

Author Topic: New events added programmatically  (Read 2120 times)

kzea

  • Playmaker Newbie
  • *
  • Posts: 1
New events added programmatically
« on: September 08, 2011, 04:15:31 PM »
  Is there a way to populate event list programmatically (at design time) from within a class inherited from Editor. i.e from function OnInspectorGUI() in response to user actions. So far I was looking to invoke 'New Event' edit box functionality but no luck. I can't modify FsmEvents in PlayMakerFSM object since it's read only.

               PlayMakerFSM f = (...);
   -->            f.FsmEvents;

Any ideas?
Thanks.