Playmaker Forum

Playmaker Help & Tips => Playmaker Help => Topic started by: dev19872014 on November 01, 2017, 02:55:28 AM

Title: Get/Set Property vs custom action
Post by: dev19872014 on November 01, 2017, 02:55:28 AM
Hi,

Performance in get/set property vs custom action?
Title: Re: Get/Set Property vs custom action
Post by: djaydino on November 01, 2017, 04:18:07 PM
Hi,
I am not sure if there are performance issues, but you will need to use Linker Wizard (http://hutonggames.com/playmakerforum/index.php?topic=11126.0) to be sure they connect.
Else things tend to break.

Title: Re: Get/Set Property vs custom action
Post by: jeanfabre on November 01, 2017, 11:10:39 PM
Hi,


 there is a performance impact when using get/set property because it uses Reflection under the hood which while fine, is less performant then a dedicated action properly reference in code all the classes and methods/properties it needs.

 I always create a custom action, because I know how to script, and so I never use Get/Set Property myself, but indeed if your choice is to have no game vs using tools that allow you to create a game without coding at the cost a small overhead, this is perfect.

 So, before you use these actions, I would always search the Ecosystem for a possible action covering the feature and if you don't find it, ask on this forum ( ping me if you don't get answer).

 bye,

 Jean

Bye,

 Jean