Class Flow
Syntax
public sealed class Flow : IPoolable, IDisposable
Fields
loopIdentifier
Declaration
public int loopIdentifier
Field Value
variables
Declaration
public readonly VariableDeclarations variables
Field Value
Properties
coroutineRunner
Declaration
public MonoBehaviour coroutineRunner { get; }
Property Value
currentLoop
Declaration
public int currentLoop { get; }
Property Value
enableDebug
Declaration
public bool enableDebug { get; }
Property Value
isCoroutine
Declaration
public bool isCoroutine { get; }
Property Value
isInspected
Declaration
public bool isInspected { get; }
Property Value
isInspectedBinding
Declaration
public static Func<GraphPointer, bool> isInspectedBinding { get; set; }
Property Value
isPrediction
Declaration
public bool isPrediction { get; }
Property Value
stack
Declaration
public GraphStack stack { get; }
Property Value
Methods
BreakLoop()
Declaration
CanPredict(IUnitValuePort, GraphReference)
Declaration
public static bool CanPredict(IUnitValuePort port, GraphReference reference)
Parameters
Returns
Dispose()
Declaration
DisposePreservedStack(GraphStack)
Declaration
public void DisposePreservedStack(GraphStack stack)
Parameters
EnterLoop()
Declaration
Returns
ExitLoop(Int32)
Declaration
public void ExitLoop(int loop)
Parameters
Type |
Name |
Description |
Int32 |
loop |
|
Declaration
public static object FetchValue(ValueInput input, Type type, GraphReference reference)
Parameters
Returns
Declaration
public static object FetchValue(ValueInput input, GraphReference reference)
Parameters
Returns
Declaration
public static T FetchValue<T>(ValueInput input, GraphReference reference)
Parameters
Returns
Type Parameters
Declaration
public object GetConvertedValue(ValueInput input)
Parameters
Returns
Declaration
public object GetValue(ValueInput input)
Parameters
Returns
Declaration
public object GetValue(ValueInput input, Type type)
Parameters
Returns
Declaration
public T GetValue<T>(ValueInput input)
Parameters
Returns
Type Parameters
Invoke(ControlOutput)
Declaration
public void Invoke(ControlOutput output)
Parameters
IsLocal(IUnitValuePort)
Declaration
public bool IsLocal(IUnitValuePort port)
Parameters
Returns
LoopIsNotBroken(Int32)
Declaration
public bool LoopIsNotBroken(int loop)
Parameters
Type |
Name |
Description |
Int32 |
loop |
|
Returns
New(GraphReference)
Declaration
public static Flow New(GraphReference reference)
Parameters
Returns
Predict(IUnitValuePort, GraphReference)
Declaration
public static object Predict(IUnitValuePort port, GraphReference reference)
Parameters
Returns
Predict(IUnitValuePort, GraphReference, Type)
Declaration
public static object Predict(IUnitValuePort port, GraphReference reference, Type type)
Parameters
Returns
Predict<T>(IUnitValuePort, GraphReference)
Declaration
public static T Predict<T>(IUnitValuePort port, GraphReference pointer)
Parameters
Returns
Type Parameters
PreserveStack()
Declaration
public GraphStack PreserveStack()
Returns
RestoreStack(GraphStack)
Declaration
public void RestoreStack(GraphStack stack)
Parameters
Run(ControlOutput)
Declaration
public void Run(ControlOutput port)
Parameters
SetValue(IUnitValuePort, Object)
Declaration
public void SetValue(IUnitValuePort port, object value)
Parameters
StartCoroutine(ControlOutput, ICollection<Flow>)
Declaration
public void StartCoroutine(ControlOutput port, ICollection<Flow> registry = null)
Parameters
StopCoroutine(Boolean)
Declaration
public void StopCoroutine(bool disposeInstantly)
Parameters
Type |
Name |
Description |
Boolean |
disposeInstantly |
|
Declaration
public bool TryGetDefaultValue(ValueInput input, out object defaultValue)
Parameters
Returns
Explicit Interface Implementations
IPoolable.Free()
Declaration
Implements
IPoolable.New()
Declaration
Implements
Extension Methods
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.