NodeCanvas editor possible to work with Odin Inspector or default Unity attribs?

Forums 💬 NodeCanvas ⚙️ Support NodeCanvas editor possible to work with Odin Inspector or default Unity attribs?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17352
    meatloaf
    Participant

      Hi i’m just curious if in any future version you plan to support Odin Inspector? If not is there plan to support default Unity attributes?

      I love the asset but i’m hoping I might be able to carry my inspector knowledge over from either of those two systems.

      Thanks in advance!

      #17357
      Gavalakis
      Keymaster

        Hello,

        Right now, because NodeCanvas uses a completely different serialization system than Unity’s (for good reasons), it is really impossible to directly support Unity’s attributes since they only work along with a SerializedProperty (a concept that does not exist in NodeCanvas serialization).

        This is why, NodeCanvas has it’s own way of creating custom object/property drawers, and which is quite similar to how creating Unity object/property drawers work. Please take a look at this [DOCUMENTATION LINK]

        Having said that, there are plans to hopefully move from FullSerializer (current serialization system) to Odin Serializer in the future and when that is done, probably, Odin’s attributes will work out of the box ( but can’t tell for sure yet).

        Once again, please take a look at how NodeCanvas custom object/attributes are created, since it’s very similar to Unity’s and quite easy to make 🙂

        Thanks!

        #17356
        psykaw
        Participant

          Odin serializer is now open source o/. I will give it a try to integrate it.
          Odin Serializer

          #17355
          Gavalakis
          Keymaster

            Odin Serializer has indeed came out open source, yes!
            I already knew that [LINK] but didn’t want to tell before their announcement 🙂

            #17354
            psykaw
            Participant

              I had no time to try to integrate it. Do you plan to do it? Or I have to do it by myslef?
              I have always huge deserilization time when I instantiate BehaviourTreeOwner+BlackBoard at runtime.

              #17353
              Gavalakis
              Keymaster

                Hey,

                There are indeed plans to change from using Full Serializer and to using Odin Serializer in the future, but I can’t yet promise as for when this will be complete since it is a massive amount of work that needs to be done considering that everything will also need to be and stay backwards compatible.

                Thank you.

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