📖
FlowReactor
  • 👋Welcome
  • Installation
  • Interface
    • Graph Library
    • Graph Explorer
  • FlowReactorComponent
  • Settings
  • Addons / Packages
  • Guides
    • Introduction
    • Create custom node
    • Variables & Blackboards
      • Type conversions
    • Using the EventSystem
      • Sequencing Events
  • In-depth
    • Node Attributes
    • Long running nodes
    • Node Modules
      • FRNodeControllable
      • FRNodeEventDispatcher
      • Custom node utility modules
    • Assembly Defintion
  • API
    • Nodes
    • Blackboard
    • Eventboard
    • FlowReactorComponent
    • FRVariables
      • FREnum
      • FRAttributes
    • INodeControllable
Powered by GitBook
On this page
  • Namespace
  • CallEventByName
  • Listen to events
  1. API

Eventboard

Namespace

using FlowReactor.EventSystem;

CallEventByName

public void CallEventByName(string eventName)

Call an event on the referenced Eventboard. Make sure event names are unique.

Example

using FlowReactor;
using FlowReactor.EventSystem;
 
// reference to eventboard
public EventBoard events;
 
// call the OnEvent1 event in the assigned eventboard
events.CallEventByName("OnEvent1");

Listen to events

Use the FlowReactorEventListener component to listen to events. With this component you can easily call public methods on your own custom scripts.

PreviousBlackboardNextFlowReactorComponent

Last updated 2 years ago