Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: kzea on September 08, 2011, 04:15:31 PM

Title: New events added programmatically
Post by: kzea 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.