Method Names Refactoring

Forums 💬 NodeCanvas ⚙️ Support Method Names Refactoring

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #16518
    nc_dev
    Participant

      Hello!

      While using your package, I have faced a problem related to refactoring of method’s names. After any changes in the structure of the names of the canvas breaks. Is there any possibility in the package to automatically resolve those changes?

      Best regards,

      Nikita

      #16525
      zsoik
      Participant

        There is the DeserializeFromAttribute which you can use on a class when you’ve renamed that. But I think there is no way to let NodeCanvas know wether you’ve renamed a method, property or field (but please prove me wrong b/c I’d like to have that functionality).

        #16524
        nc_dev
        Participant

          Thank you for your answer, @zsoik! I will try to use suggested attribute.

          #16523
          Gavalakis
          Keymaster

            Hey guys,

            I am glad to let you know that in v3.0 there is now a new Graph Refactor utility window! With this, we are now able to refactor missing/renamed, reflected types, methods, properties as well as missing tasks, nodes and so on. 🙂

            Here is a gif showing that in action (it is demonstrated in FlowCanvas, but it works the same in NodeCanvas as well)

            Cheers!

            #16522
            sugoidev
            Participant

              Awesome! Looking forward to v3 even more now.

              #16521
              nc_dev
              Participant

                Looks great, looking forward to try out v3!

                Any news about the release date?

                #16520
                zsoik
                Participant

                  Nice! Will it also work on multiple graphs simultanously (common use case here would be applying a refactoring to 100s of graphs)?

                  #16519
                  Gavalakis
                  Keymaster

                    Hey guys,

                    Sorry for the late reply, but I was working full head on with the v3. It is now done! Hurray!! (version will be send to asset store today or tomorrow). Regarding batch refactor of multiple graphs, it’s not possible right now, but it could be done at least for assets graphs. I will take a look at this after v3.0.0 is live on the asset store though 🙂

                    Thanks!

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