Method Names Refactoring

NodeCanvas Forums Support Method Names Refactoring

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #14649
    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

    #14650
    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).

    #14653
    nc_dev
    Participant

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

    #14664
    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!

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

    #14665
    sugoidev
    Participant

    Awesome! Looking forward to v3 even more now.

    #14666
    nc_dev
    Participant

    Looks great, looking forward to try out v3!

    Any news about the release date?

    #14667
    zsoik
    Participant

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

    #14678
    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!

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

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