playMaker

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

dev19872014

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

Performance in get/set property vs custom action?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2305
    • View Profile
    • jinxtergames
Re: Get/Set Property vs custom action
« Reply #1 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 to be sure they connect.
Else things tend to break.


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Get/Set Property vs custom action
« Reply #2 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