playMaker

Author Topic: Why Does FsmArray pass System.Object type and FSMObject pass UnityEngine.Object?  (Read 1998 times)

jrDev

  • Junior Playmaker
  • **
  • Posts: 59
Hello,

I am asking this question because I am trying to pass an FsmArray value into an FsmObject value but this does not work. If I try to cast the FsmArray value to FsmObject value I get a null value.

Any help with workarounds?
« Last Edit: May 18, 2016, 03:23:48 AM by jrDev »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Hi,

 No that will not work indeed.

 FsmObject hold a reference to a Unity Asset, like a material, a scene, a Texture, anything that can be inside your assets.

FsmArray can hold a reference to actual classes.

 Can you explain what you want to achieve?

 Bye,

 Jean