playMaker

Author Topic: Custom Class FSMArrays  (Read 1468 times)

jrDev

  • Junior Playmaker
  • **
  • Posts: 59
Custom Class FSMArrays
« on: September 19, 2016, 11:28:12 PM »
Hey,

So I am trying to have playmaker automatically set the type of variable that I asked for in a code like this:

Code: [Select]
[ArrayEditor(typeof(LogStatement))]
public FsmArray logs;

This once worked in the previous version of Playmaker, all I needed to do was click 'New Variable' and it wouldve created the variable of that class type. Is there something I am missing why this isn't working anymore?

Thanks,
jrDev

jrDev

  • Junior Playmaker
  • **
  • Posts: 59
Re: Custom Class FSMArrays
« Reply #1 on: September 20, 2016, 09:44:23 AM »
Hey,

Something definitely changed somewhere. Even if the Classes weren't of Monobehaviour, I was still able to click on 'New Variable' and have Playmaker autolink this class with Object Variable type. No one has had this experience?

Thanks,
jrDev