playMaker

Author Topic: Set/Get Property Speed  (Read 2987 times)

ZeroSigma

  • Playmaker Newbie
  • *
  • Posts: 7
Set/Get Property Speed
« on: December 06, 2012, 01:39:17 AM »
Does anyone know if Set/Get Property uses reflection internally, I need to use it in a loop but if it is using reflection, which it looks like, I would rather rethink my FSM.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Set/Get Property Speed
« Reply #1 on: December 06, 2012, 01:56:06 PM »
Yes they use reflection. But they use caching to improve repeated calls.

You should check if performance is an issue in your situation. If it is you can use custom actions that get/set the property you need to access directly instead. Custom action that just get/set a property are generally very easy to make, but if you need a hand, don't hesitate to ask...:)