Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: jrDev on September 19, 2016, 11:28:12 PM

Title: Custom Class FSMArrays
Post by: jrDev 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
Title: Re: Custom Class FSMArrays
Post by: jrDev 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