📖
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
  • GetExposedVariables
  • GetOverrideVariable
  • SetOverrideVariable
  1. API

FlowReactorComponent

Namespace

using FlowReactor;

GetExposedVariables

public T GetExposedVariable(string _nodeName, string _variableName) where T : FRVariable //

Returns exposed variable by its name.

Example

using FlowReactor;
 
public FlowReactorComponent flowReactor;
 
var _stringVariable = flowReactor.GetExposedVariable<FRString>("DebugLog", "log");

GetOverrideVariable

public T GetOverrideVariable<T>(string _id) where T : FRVariable

Returns an overriden blackboard variable

Example

var _string = flowReactor.GetOverrideVariable<frstring>("MyFRString");
Debug.Log(_string.Value);

SetOverrideVariable

public void SetOverrideVariable<t>(T value, string _id) where T : FRVariable

Set a value to an overriden blackboard variable

PreviousEventboardNextFRVariables

Last updated 2 years ago