docs.unity3d.com
    Show / Hide Table of Contents

    Class Flow

    Inheritance
    Object
    Flow
    Namespace: Unity.VisualScripting
    Syntax
    public sealed class Flow : IPoolable, IDisposable

    Fields

    loopIdentifier

    Declaration
    public int loopIdentifier
    Field Value
    Type Description
    Int32

    variables

    Declaration
    public readonly VariableDeclarations variables
    Field Value
    Type Description
    VariableDeclarations

    Properties

    coroutineRunner

    Declaration
    public MonoBehaviour coroutineRunner { get; }
    Property Value
    Type Description
    MonoBehaviour

    currentLoop

    Declaration
    public int currentLoop { get; }
    Property Value
    Type Description
    Int32

    enableDebug

    Declaration
    public bool enableDebug { get; }
    Property Value
    Type Description
    Boolean

    isCoroutine

    Declaration
    public bool isCoroutine { get; }
    Property Value
    Type Description
    Boolean

    isInspected

    Declaration
    public bool isInspected { get; }
    Property Value
    Type Description
    Boolean

    isInspectedBinding

    Declaration
    public static Func<GraphPointer, bool> isInspectedBinding { get; set; }
    Property Value
    Type Description
    Func<GraphPointer, Boolean>

    isPrediction

    Declaration
    public bool isPrediction { get; }
    Property Value
    Type Description
    Boolean

    stack

    Declaration
    public GraphStack stack { get; }
    Property Value
    Type Description
    GraphStack

    Methods

    BreakLoop()

    Declaration
    public void BreakLoop()

    CanPredict(IUnitValuePort, GraphReference)

    Declaration
    public static bool CanPredict(IUnitValuePort port, GraphReference reference)
    Parameters
    Type Name Description
    IUnitValuePort port
    GraphReference reference
    Returns
    Type Description
    Boolean

    Dispose()

    Declaration
    public void Dispose()

    DisposePreservedStack(GraphStack)

    Declaration
    public void DisposePreservedStack(GraphStack stack)
    Parameters
    Type Name Description
    GraphStack stack

    EnterLoop()

    Declaration
    public int EnterLoop()
    Returns
    Type Description
    Int32

    ExitLoop(Int32)

    Declaration
    public void ExitLoop(int loop)
    Parameters
    Type Name Description
    Int32 loop

    FetchValue(ValueInput, Type, GraphReference)

    Declaration
    public static object FetchValue(ValueInput input, Type type, GraphReference reference)
    Parameters
    Type Name Description
    ValueInput input
    Type type
    GraphReference reference
    Returns
    Type Description
    Object

    FetchValue(ValueInput, GraphReference)

    Declaration
    public static object FetchValue(ValueInput input, GraphReference reference)
    Parameters
    Type Name Description
    ValueInput input
    GraphReference reference
    Returns
    Type Description
    Object

    FetchValue<T>(ValueInput, GraphReference)

    Declaration
    public static T FetchValue<T>(ValueInput input, GraphReference reference)
    Parameters
    Type Name Description
    ValueInput input
    GraphReference reference
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetConvertedValue(ValueInput)

    Declaration
    public object GetConvertedValue(ValueInput input)
    Parameters
    Type Name Description
    ValueInput input
    Returns
    Type Description
    Object

    GetValue(ValueInput)

    Declaration
    public object GetValue(ValueInput input)
    Parameters
    Type Name Description
    ValueInput input
    Returns
    Type Description
    Object

    GetValue(ValueInput, Type)

    Declaration
    public object GetValue(ValueInput input, Type type)
    Parameters
    Type Name Description
    ValueInput input
    Type type
    Returns
    Type Description
    Object

    GetValue<T>(ValueInput)

    Declaration
    public T GetValue<T>(ValueInput input)
    Parameters
    Type Name Description
    ValueInput input
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    Invoke(ControlOutput)

    Declaration
    public void Invoke(ControlOutput output)
    Parameters
    Type Name Description
    ControlOutput output

    IsLocal(IUnitValuePort)

    Declaration
    public bool IsLocal(IUnitValuePort port)
    Parameters
    Type Name Description
    IUnitValuePort port
    Returns
    Type Description
    Boolean

    LoopIsNotBroken(Int32)

    Declaration
    public bool LoopIsNotBroken(int loop)
    Parameters
    Type Name Description
    Int32 loop
    Returns
    Type Description
    Boolean

    New(GraphReference)

    Declaration
    public static Flow New(GraphReference reference)
    Parameters
    Type Name Description
    GraphReference reference
    Returns
    Type Description
    Flow

    Predict(IUnitValuePort, GraphReference)

    Declaration
    public static object Predict(IUnitValuePort port, GraphReference reference)
    Parameters
    Type Name Description
    IUnitValuePort port
    GraphReference reference
    Returns
    Type Description
    Object

    Predict(IUnitValuePort, GraphReference, Type)

    Declaration
    public static object Predict(IUnitValuePort port, GraphReference reference, Type type)
    Parameters
    Type Name Description
    IUnitValuePort port
    GraphReference reference
    Type type
    Returns
    Type Description
    Object

    Predict<T>(IUnitValuePort, GraphReference)

    Declaration
    public static T Predict<T>(IUnitValuePort port, GraphReference pointer)
    Parameters
    Type Name Description
    IUnitValuePort port
    GraphReference pointer
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    PreserveStack()

    Declaration
    public GraphStack PreserveStack()
    Returns
    Type Description
    GraphStack

    RestoreStack(GraphStack)

    Declaration
    public void RestoreStack(GraphStack stack)
    Parameters
    Type Name Description
    GraphStack stack

    Run(ControlOutput)

    Declaration
    public void Run(ControlOutput port)
    Parameters
    Type Name Description
    ControlOutput port

    SetValue(IUnitValuePort, Object)

    Declaration
    public void SetValue(IUnitValuePort port, object value)
    Parameters
    Type Name Description
    IUnitValuePort port
    Object value

    StartCoroutine(ControlOutput, ICollection<Flow>)

    Declaration
    public void StartCoroutine(ControlOutput port, ICollection<Flow> registry = null)
    Parameters
    Type Name Description
    ControlOutput port
    ICollection<Flow> registry

    StopCoroutine(Boolean)

    Declaration
    public void StopCoroutine(bool disposeInstantly)
    Parameters
    Type Name Description
    Boolean disposeInstantly

    TryGetDefaultValue(ValueInput, out Object)

    Declaration
    public bool TryGetDefaultValue(ValueInput input, out object defaultValue)
    Parameters
    Type Name Description
    ValueInput input
    Object defaultValue
    Returns
    Type Description
    Boolean

    Explicit Interface Implementations

    IPoolable.Free()

    Declaration
    void IPoolable.Free()
    Implements
    IPoolable.Free()

    IPoolable.New()

    Declaration
    void IPoolable.New()
    Implements
    IPoolable.New()

    Extension Methods

    XAnalyserProvider.Analyser(Object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(Object, IGraphContext)
    XAnalyserProvider.Analysis(Object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(Object, IGraphContext)
    XAnalyserProvider.Analyser(Object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(Object, GraphReference)
    XAnalyserProvider.Analysis(Object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(Object, GraphReference)
    XDescriptorProvider.Describe(Object)
    XDescriptorProvider.HasDescriptor(Object)
    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    XDescriptorProvider.Description(Object)
    XDescriptorProvider.Description<TDescription>(Object)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(T)
    ConversionUtility.IsConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsConvertibleTo<T>(Object, Boolean)
    ConversionUtility.ConvertTo(Object, Type)
    ConversionUtility.ConvertTo<T>(Object)
    TypeUtility.ToShortString(Object, Int32)
    Serialization.CloneViaSerialization<T>(T, Boolean)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, Boolean)
    Serialization.Serialize(Object, Boolean)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.ToSafeString(Object)
    In This Article
    • Fields
      • loopIdentifier
      • variables
    • Properties
      • coroutineRunner
      • currentLoop
      • enableDebug
      • isCoroutine
      • isInspected
      • isInspectedBinding
      • isPrediction
      • stack
    • Methods
      • BreakLoop()
      • CanPredict(IUnitValuePort, GraphReference)
      • Dispose()
      • DisposePreservedStack(GraphStack)
      • EnterLoop()
      • ExitLoop(Int32)
      • FetchValue(ValueInput, Type, GraphReference)
      • FetchValue(ValueInput, GraphReference)
      • FetchValue<T>(ValueInput, GraphReference)
      • GetConvertedValue(ValueInput)
      • GetValue(ValueInput)
      • GetValue(ValueInput, Type)
      • GetValue<T>(ValueInput)
      • Invoke(ControlOutput)
      • IsLocal(IUnitValuePort)
      • LoopIsNotBroken(Int32)
      • New(GraphReference)
      • Predict(IUnitValuePort, GraphReference)
      • Predict(IUnitValuePort, GraphReference, Type)
      • Predict<T>(IUnitValuePort, GraphReference)
      • PreserveStack()
      • RestoreStack(GraphStack)
      • Run(ControlOutput)
      • SetValue(IUnitValuePort, Object)
      • StartCoroutine(ControlOutput, ICollection<Flow>)
      • StopCoroutine(Boolean)
      • TryGetDefaultValue(ValueInput, out Object)
    • Explicit Interface Implementations
      • IPoolable.Free()
      • IPoolable.New()
    • Extension Methods
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023