FlowStateMachine for entire scene?

martin.matulik 5 days ago • updated by Lazlo Bonin (Lead Developer) yesterday at 9:38 a.m. 3


I am starting visual scripting with BOLT (1.4.4 ; Commercial license). I would like to have "global" Flow State Machine for entire scene in Unity, so I created a null object, added component "FlowGraph" and created 4 states (so far transitioning by time delays). 

Within those states, I would like to control attributes of multiple objects (e.g. switching visibility of different light objects). 

The question is: How can I access different objects (and their parameters) within FlowGraph window? (e.g. for "On enter state" switching "DirectionalLight1" visibility to "false"). 

Looking forward to Your solutions,

Bolt Version:
Unity Version:
.NET Version:
Create a scene variable that holds a game object reference.

Thank You, TowerCrow, it works :)