Reply To: How to set short description on an action node/leaf

Forums 💬 NodeCanvas 🗨️ General Discussion How to set short description on an action node/leaf Reply To: How to set short description on an action node/leaf

#13681
Gavalakis
Keymaster

    Hey,

    Thanks a lot for your kind words. I am really glad you like NodeCanvas!
    I am also glad you’ve found the solution. Indeed. You just need to override the “info” property. 😉
    When doing so, remember that BBParameters already override ToString on their own to return a nicely formatted text depending on whether a direct value is set, or a variable is linked to them, so when using a BBParameter in your information to be shown, you can just do something like this:
    get {return string.Format("Wait {0} sec.", waitTime);}

    Thanks again!