0

Detect button at parent of multiple buttons

RainExplorer 4 years ago updated by JasonJonesLASM 4 years ago 1

Hi,

let's say i have 15 buttons, instead of place flow state on each button, what's more easy way to detect button ("button name") on parent of those 15 button ?

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):

You could have a separate object that does this. Put all buttons as children to it, and have one flow that gathers all objects below it on the first child level. Then use a for loop and iterate through them with branches to see if the string matches.