Reply To: How to discern between 2 of the same component in the blackboard?

NodeCanvas Forums Support How to discern between 2 of the same component in the blackboard? Reply To: How to discern between 2 of the same component in the blackboard?

#13285
Gavalakis
Keymaster

Hello again,

Indeed, only the first component of the same type found attached on the gameobject is supported for this (and most) similar operations.
Supporting multiple components of the same type, will also require storing a direct reference to the component into every single such bound variable and that will require a lot of refactoring to make this work for a case which is not “that” common in general.

Thus, at this point, there is unfortunately no plan to support such discern between multiple components of same type, but I will certainly take a look at this in case some other alternative that does not require direct reference is possible (like for example storing the order index of the component within the name string).

Thanks!

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