How can I add custom parameters to DT myself?

NodeCanvas Forums Support How can I add custom parameters to DT myself?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15996
    ineedhelp
    Participant

    How can I add custom parameters to this myself?

    I’ve added a new parameter to the STATMENT code, but how does it show up in the graph?

    #16000
    Gavalakis
    Keymaster

    Hello there,

    The Statement class UI is controlled by its ObjectDrawer (found in the “StatementDrawer.cs” file). ObjectDrawers work very similar to Unity ObjectDrawer which means that the UI code in them overrides the default UI. Thus if you’ve added some fields in the “Statement” class, you will need to also please add the appropriate GUI code in the “StatementDrawer” class to show that field.

    Please let me know if this works for you.
    Thank you.

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

    #16006
    ineedhelp
    Participant

    Yes, I found out later that it was possible to do that. But for me, trying to achieve the effect I wanted, the plugin was very complicated to write and caused me to struggle. Might just have to give up.

    #16021
    Gavalakis
    Keymaster

    Hello again,

    Please let me know if you need any help at all I would be glad to help.

    Thank you.

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.