[Feature Request] Custom / "default" inspectors.

NodeCanvas Forums General Discussion [Feature Request] Custom / "default" inspectors.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14518
    guyboots_thunderbro
    Participant

    So, I’m a big fan of using Odin to quickly draw custom inspectors. These inspectors don’t work inside of NodeCanvas, of course.

    It’d be great if they did, but I’m guessing there’s some technical reason why the inspector fields are custom drawn inside of NodeCanvas. Is it compatibility with older versions of Unity? Is it possible to offer an option that lets Unity / Odin / my own custom inspectors do their work, even if it makes the Blackboard or ActionTask/ConditionTask variable fields look like a mess?

    #14531
    Gavalakis
    Keymaster

    Hey,

    The problem with custom inspectors, is that custom inspectors code is very tied with the serialization that is used behind the scenes.
    Unity, Odin and NodeCanvas, all three use different serialization and this is why inspectors made using the API for one of those, do not work with inspectors made for the other. Just in case you do not know, you can create custom inspectors in NodeCanvas for any type, but of course these inspectors are only made to inspect types within NodeCanvas (variables and nodes inspection).

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

    #14540
    guyboots_thunderbro
    Participant

    I see.

    Huh, that’s unfortunate. I guess that explains why a lot of assets have their own custom inspectors. I’ll try to stick to primitive blackboard objects as much as possible, then.

    Well, thanks anyway!

    #14545
    Gavalakis
    Keymaster

    Yeah, that is exactly the reason why mostly every serialization/inspector asset has it’s own way of implementing custom inspectors. I honeslty wish somehow Unity made it possible to use custom inspectors made for native unity, possible to use everywhere. I’ve tried many very nasty hacks in the past to try and make it possible but to no avail. I still have one idea left however which I want to take a look at 🙂

    Thanks!

    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.