Reply To: AgentType Attribute missing??

NodeCanvas Forums Custom Nodes & Tasks AgentType Attribute missing?? Reply To: AgentType Attribute missing??

#12733
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.

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