Reply To: Accessing GlobalBlackboard Variables from C# script

FlowCanvas Forums Support Accessing GlobalBlackboard Variables from C# script Reply To: Accessing GlobalBlackboard Variables from C# script

#3545
Gavalakis
Keymaster

Hey,

You can get a Global Blackboard’s Variable like this for example:

In the ‘GlobalBlackboard.Find’ you have to pass the identifier name of the Global Blackboard (as set in its inspector). Then you can use the ‘GetVariableValue` method to get the value of a variable. T has to be the type of the variable and you of course have to pass the name of the variable as the example above 🙂

Let me know if that is what you were after. Thanks.

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