scornflake
New member
I've an external task that I want to paramaterize.
It has variables min/max coverDistance and ignoreIfWithinDistance.
For some calls to this tree I specify the values manually.
For others, they come from an existing object (i.e: an enemy, with various capabilities).
I've tried to use GetComponent to extract the "Unit" class into a dynamic var, and then used dotted notation to try to pass the relevant properties down into the tree.
I get 0 for all values.
Is dotted notation supported?
If not, is there some other approach that's more sensible?
It has variables min/max coverDistance and ignoreIfWithinDistance.
For some calls to this tree I specify the values manually.
For others, they come from an existing object (i.e: an enemy, with various capabilities).
I've tried to use GetComponent to extract the "Unit" class into a dynamic var, and then used dotted notation to try to pass the relevant properties down into the tree.
I get 0 for all values.
Is dotted notation supported?
If not, is there some other approach that's more sensible?