Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: fatihkran on October 20, 2019, 11:15:54 AM

Title: Custom Action Struct
Post by: fatihkran 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.
Title: Re: Custom Action Struct
Post by: jeanfabre 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