Reply To: AgentType Attribute missing??

Forums 💬 NodeCanvas 🤩 Custom Nodes and Tasks AgentType Attribute missing?? Reply To: AgentType Attribute missing??

#12871
Gavalakis
Keymaster

    Hello,

    The [AgentType] attribute (which was only required for interface types) is indeed removed in v2.7. That is because it is now possible to use the generic version of tasks for specifying an interface type too.

    So for example, this task:

    Now becomes:

    The main benefit is that the ‘.agent’ property will now already be an IMyInterface type and no longer requires casting.

    Let me know if that works for you.
    Thanks.