Reply To: Direct Access

NodeCanvas Forums General Discussion Direct Access Reply To: Direct Access

#9145
Gavalakis
Keymaster

Hello,

Indeed, I recommend the GetDataValue(string) in the documentation as it is more easy to understand and use, but if you are going to call this much frequently then it is better and fine to cache the VariableData with GetData(string, Type).
This is also what’s happening under the hood in NC for the obvious performance reasons 🙂

Cheers!

Join us on Discord: https://discord.gg/97q2Rjh