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

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

#14975
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.