Playmaker Forum

PlayMaker News => General Discussion => Topic started by: ZeroSigma on December 06, 2012, 01:39:17 AM

Title: Set/Get Property Speed
Post by: ZeroSigma 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.
Title: Re: Set/Get Property Speed
Post by: Alex Chouls 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...:)