Greetings.
I'm learning how to write my own custom actions for usage in Playmaker editor. But, since one of my goals is to integrate some EZGUI components, I was wondering how can I specify a variable type (for instance, EZGUI UIPanel)? As I understand, I'd think that I have to inherit from the basic variable type (FsmVariables, I guess?) and to create a new data type, but, in order to make the proper setup, I'd have to do something like assigning value to the actual object I wanna use (for instance, the UIPanel)
Anyone has made something like this before? Any pointers? Any suggestion will be well received.
Thanks in advance.
[Update Oct 24]
I have come with a solution for this, although I still want to know how to change a variable type to Fsm (as Int goes FsmInt and so on).
Actually, to integrate components from 3rd-party plugins, it seems to be enough to write a custom action that receives as public parameter an object from that plugin (for instance, if I want to operate an EZGUI UIPanel, my custom action will ask for a public UIPanel parameter, and the OnEnter() event will execute, say, a BringIn animation), then call the Finish() function to indicate that action has been completed.
But, in order to achieve a simpler design (to be easier to maintain that integration), I made a static class that executes all the object possible operations, so my custom action only needs to call that intermediate layer class desired operation. It's unavoidable to write a single action for each possible operation (in my case for EZGUI UIPanel, an action for BringIn a panel, another for Dismiss it, and so on).
Hope this helps whoever might want to do something like this. I'm checking this as 'SOLVED' since my issue is no longer a problem, yet still my question remains unanswered: How to convert my own variable types to Fsm variables, if possible?.