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

Last updated