1) I have a custom script ("NPC motor") as a component on multiple object. During runtime, I need to change value of custom variable ("speed") of this custom script - for all objects with this component. What is the most effective way to achieve this using BOLT?
2) I have created bool parameter in ANIMATION-CONTROLLER for triggering transition to other state (by conditioning: parameter false -> true). How can I control this parameter via BOLT? (Animator.setBool does not accept animationController - only "instance"/component "animator" from specific object. The catch is: animationController drives many objects, so I would have to set bool for 30 animators manually).
I have manually created like 30 variables and wired it manually this time, but will be solving similar tasks in near future, so wondering for proper & efficient way.
Looking forward for Your ideas,
Customer support service by UserEcho