Reply To: How to access Dynamic Variables in code?

Forums 💬 NodeCanvas ⚙️ Support How to access Dynamic Variables in code? Reply To: How to access Dynamic Variables in code?

#17087
test84
Participant

    Apparently I can do it via blackboard.GetVariable<T>("myDynamicVariableName") , wish there was an example in the documentation about it. Please correct me if I’m wrong in terms of either this is a good use case for using Dynamic Varibles and/or how to access it.

    When that line of code is executed, NC says it promoted the Dynamic Variable to a Variable in Blackboard, why is it?

    Thanks