Reply To: Any way to start a variable off as NONE?

NodeCanvas Forums General Discussion Any way to start a variable off as NONE? Reply To: Any way to start a variable off as NONE?

#9262
Gavalakis
Keymaster

Hey,

You can initialize the BBVariable with useBlackboard = true.
public BBFloat f = new BBFloat{useBlackboard = true};

As such, it will start with using the blackboard and NONE.

Although I think it’s a relatively rare occasion, I could create an attribute for that.

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