playMaker

Author Topic: Custom Action Struct  (Read 1753 times)

fatihkran

  • Playmaker Newbie
  • *
  • Posts: 4
Custom Action Struct
« on: October 20, 2019, 11:15:54 AM »
Hello,

I wonder if there is a way to display struct on UI? I have tried "[System.Serializable]" attribute but i get unsupported type error.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Custom Action Struct
« Reply #1 on: November 01, 2019, 03:40:55 AM »
Hi,

 yeah, I don't think it's possible ( even when using Iserializable it seems: https://answers.unity.com/questions/10329/is-it-possible-to-serialize-and-store-custom-struc.html), use a class instead. that should not make much difference in the end.

I'll run this by Alex, maybe there is a way.


Bye,

 Jean