Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: TVISARL on April 04, 2020, 08:09:21 AM

Title: Custom properties
Post by: TVISARL on April 04, 2020, 08:09:21 AM
Hi, all!
How can I add (and read) custom prperties to a Game Object?
Thanks in advance.
Title: Re: Custom properties
Post by: djaydino on April 04, 2020, 10:01:17 AM
hi,

1st look if maybe there are already actions on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181)

if none, you can make custom actions (see Playmaker API (https://hutonggames.fogbugz.com/default.asp?W127))

Or Use Get/Set Properties actions.
Get/Set Properties is using reflection (mean slower than dedicated actions)
So always try to find/use dedicated actions.
Also you will need to use linker wizard (http://hutonggames.com/playmakerforum/index.php?topic=11126.0) if you have issues with builds.

if it is a 3rd party asset you can also request the author to support Playmaker and if the author needs help, they can contact us :)
Title: Re: Custom properties
Post by: TVISARL on April 05, 2020, 05:28:55 AM
Thanks.