playMaker

Author Topic: FsmVar Where (Type != MonoBehaviour)  (Read 934 times)

cagezero

  • Playmaker Newbie
  • *
  • Posts: 1
FsmVar Where (Type != MonoBehaviour)
« on: December 15, 2017, 04:40:00 PM »
I am trying to make a a custom action that references a non-MonoBehaviour script (regular C# class) and/or an Interface. I understand the basics of building custom actions, and I don't think what I want to do is possible out-of-the-box, but thoughts on how to do it would be appreciated.

The closest I have found to an example of what I want to do is using
Code: [Select]
public FsmVar[] parameters; in my custom action. When I select "Object" as the type of my parameter I am only able to select MonoBehaviours as "Type". I would love to be able to select an interface or non-MonoBehaviour class.