Hi Everyone,
Apologies is this is a complete beginner question; I've been looking around to try and solve my problem, but can't seem to find a solution anywhere. Basically, in the same way that listing 'public FsmString stringVar' exposes a variable in the action properties that lets me connect it with an FSMvariable, I'm looking for a way to do the same except one that lets me expose a variable to take a scriptable object (the scriptable object type 'Item').
I get that I could use 'public Item itemVar' to expose it, however I need to be able to connect this input in the action with an FSM global variable. At this stage I have successfully set up a global variable of the 'Object' type, which then uses 'Item' as its type, however I can't seem to work out how to do the same in the code for my custom action.
Apologies if this is poorly explained, I feel like there is probably a way to do this, but I'm still quite new to PlayMaker/Unity/C#, so I'm not great at explaining myself.
Thanks in advance for any help anyone can give!
