Reply To: Accessing variables & functions from C#

FlowCanvas Forums Support Accessing variables & functions from C# Reply To: Accessing variables & functions from C#

#447
Gavalakis
Keymaster

Hey,

Yes. you can use the Blackboard API to get/set variables through code. Here is a simple example of getting and setting a float variable:

Regarding calling a BT from C#, if you mean starting/stopping a BT, yes of course 🙂 You can use the GraphOwner API for that. Here is an example:

Let me know if this is what your asked or I misunderstood the questions 🙂

Thanks.

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