Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

188
Views
How to get a C# event unit in a Bolt transition flow graph?

I want to use Bolt to visualize the state machines in my game. All the logic will be in C# scripts and I'll use Bolt only as a visualization tool to my FSMs to increase maintainability of those state machines.

Most of the state machines in my game reacts to events managed by other classes in my game. So basically I need to create logic for the transitions between events in a Bolt transition graph which starts by listening to those C# events.

How can I do that? How can I listen to an arbitrary C# event inside a Bolt graph? All I can find in the docs involves triggering Bolt CustomEvent in a C# script; which is not what I want.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You can create an Empty Object and you can activate it when event happens and you can check if this EmptyObject is activated.

if(GameObject.activeSelf == true)
{

//Your script when event happens

}

Script for activating object

GameObject.SetActive(true);

and if you want to run event in bolt the same thing in bolt

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!