FlowReactor Component

You are here:
< All Topics
Table of Contents

The FlowReactorComponent runs your graph in the scene. Ususally you can simply drag and drop a graph on to any game object and it will create the FlowReactorComponent automatically with the assigned graph.

Unique Instance

A graph in FlowReactor is a global asset file. This means that if you have more than one FlowReactorComponent which should run the same graph it is important to set them as a unique instance. If you don’t set them as unique you will have mulitple FlowReactorComponents accessing the same graph which will result in errors.

If you have more than one FlowReactorComponent in your scene which should run the same graph set the unique instance option to true!

Global update loop

If set to true all FlowReactor controller update loops will be packed into one global loop. This can help gain a bit of performance but normally you can leave this option to false.

Override variables

Variables which you have defined within your Blackboards can be overriden by a FlowReactor controller. This is very useful if you need to assign scene objects or if you want to add object specific values.

For example: If you have multiple enemies which have the same AI graph with the same blackboards you still have to set the health value for each enemy entity unique.

Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Consent to display content from Youtube
Consent to display content from Vimeo
Google Maps
Consent to display content from Google