playMaker

Author Topic: Get/Set Property vs custom action  (Read 1529 times)

dev19872014

  • Playmaker Newbie
  • *
  • Posts: 20
Get/Set Property vs custom action
« on: November 01, 2017, 05:55:28 AM »
Hi,

Performance in get/set property vs custom action?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: Get/Set Property vs custom action
« Reply #1 on: November 01, 2017, 07:18:07 PM »
Hi,
I am not sure if there are performance issues, but you will need to use Linker Wizard to be sure they connect.
Else things tend to break.


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get/Set Property vs custom action
« Reply #2 on: November 02, 2017, 02:10:39 AM »
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