Reply To: Can I add my Component to Custom Types

NodeCanvas Forums General Discussion Can I add my Component to Custom Types Reply To: Can I add my Component to Custom Types

#8968
Gavalakis
Keymaster

Hello,

You are able to add any type in the Type Configurator editor window. Your type will most probably be under the “Assembly-CSharp/No Namespace” category. Once you add it, it will be listed in the “Change Type” button dropdown.
Can you please double check for your type under the “Assembly-CSharp” category?

Furthermore, if the agent of the ExecuteFunction task is set (for example you override it and assign the game object on which the MyComponentType is), then there will be no need to select type and instead all components on the agent game object will be shown for a method selection. Of course depending on your design, that is not always the case.

Thanks

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