0
Answered

Exécut bolt in editor mode via script

marc 5 months ago updated by Lazlo Bonin (Lead Developer) 4 months ago 3

Hi after somme search i saw bolt can't be executed in editor mode, correct me if i'm wrong. 


Saw maybe can it be possible to create a c# script with editor mode property that trigger a custom event that are in my bolt flow machine ?

If its possible can you guide me in the implémentation. Thank's

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

Hi Marc,

Indeed, the Events API is the best way to send custom events to your graph currently. You could link those to any custom editor / window / drawer, for example.

IIRC Jason has created an extension that adds an event that can be triggered by a button. I don't have the link handy, but you could ask him in the Discord at the #bolt-extensions channel.