Displaying Node IDs in Canvas Editor

Forums 💬 NodeCanvas ⚙️ Support Displaying Node IDs in Canvas Editor

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18821
    cbrandick
    Participant

      Hey Gavalakis,

      New question. I want to be able to see the base class node ids within the node canvas editor. Do you have any idea how to do this simply?

      Thanks in advance,
      Charlie

      #18823
      Gavalakis
      Keymaster

        Hey,

        For something simple and temporary, you can open up EDITOR_Node.cs and in the method “ShowNodeGUI” at line #173, put the following code at the end of that method:

        I can add this as a preference in the next version to toggle on/off the node IDs in a similar way.
        Let me know if this works for you.

        Cheers!

        #18822
        cbrandick
        Participant

          Hey Gavalakis,

          I actually had a quick fix myself, but I think yours looks better. At line #173 the IDs show even when the nodes are folded back into a parent. It works better at line #197. 🙂

          Thanks!

          PS
          As for adding the toggle. I don’t know how useful this is for people other than myself… I am trying to understand the JSON structure a bit better. If you don’t mind putting it in, that’d be awesome, but I don’t mind tossing it into the editor script for the time being. Thanks!!!

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