docs.unity3d.com
    Show / Hide Table of Contents

    Class StateTransition

    Inheritance
    Object
    GraphElement<StateGraph>
    StateTransition
    EmbedStateTransition<TGraph>
    NesterStateTransition<TGraph, TMacro>
    Inherited Members
    GraphElement<StateGraph>.guid
    GraphElement<StateGraph>.modules
    GraphElement<StateGraph>.IGraphChild.associatedElement
    GraphElement<StateGraph>.requiresInstantiation
    GraphElement<StateGraph>.Instantiate(GraphReference)
    GraphElement<StateGraph>.Uninstantiate(GraphReference)
    GraphElement<StateGraph>.INotifiedCollectionChild<IGraph>.BeforeAdd(IGraph)
    GraphElement<StateGraph>.INotifiedCollectionChild<IGraph>.AfterAdd(IGraph)
    GraphElement<StateGraph>.INotifiedCollectionChild<IGraph>.BeforeRemove(IGraph)
    GraphElement<StateGraph>.INotifiedCollectionChild<IGraph>.AfterRemove(IGraph)
    GraphElement<StateGraph>.BeforeAdd(StateGraph)
    GraphElement<StateGraph>.AfterAdd(StateGraph)
    GraphElement<StateGraph>.BeforeRemove(StateGraph)
    GraphElement<StateGraph>.AfterRemove(StateGraph)
    GraphElement<StateGraph>.HandleDependencies()
    GraphElement<StateGraph>.parentGraph
    GraphElement<StateGraph>.ICollectionChild<IGraph>.parent
    GraphElement<StateGraph>.IGraphChild.parentGraph
    GraphElement<StateGraph>.deserializationDependencies
    GraphElement<StateGraph>.Prewarm()
    GraphElement<StateGraph>.Dispose()
    GraphElement<StateGraph>.IsDisposed
    GraphElement<StateGraph>.ToString()
    GraphElement<StateGraph>.PropertyChanged
    GraphElement<StateGraph>.OnPropertyChanged(Object, PropertyChangedEventArgs)
    GraphElement<StateGraph>.OnPropertyChanged(String)
    Namespace: Ludiq.Bolt
    Syntax
    public abstract class StateTransition : GraphElement<StateGraph>, IStateTransition, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, IConnection<IState, IState>

    Constructors

    StateTransition()

    Declaration
    protected StateTransition()

    StateTransition(IState, IState)

    Declaration
    protected StateTransition(IState source, IState destination)
    Parameters
    Type Name Description
    IState source
    IState destination

    Properties

    dependencyOrder

    Declaration
    public override int dependencyOrder { get; }
    Property Value
    Type Description
    Int32
    Overrides
    Ludiq.Bolt.GraphElement<Ludiq.Bolt.StateGraph>.dependencyOrder
    Implements
    IGraphElement.dependencyOrder

    destination

    Declaration
    [Serialize]
    public IState destination { get; }
    Property Value
    Type Description
    IState
    Implements
    IConnection<TSource, TDestination>.destination

    source

    Declaration
    [Serialize]
    public IState source { get; }
    Property Value
    Type Description
    IState
    Implements
    IConnection<TSource, TDestination>.source

    Methods

    BeforeStateEnter(Flow)

    Declaration
    public abstract void BeforeStateEnter(Flow flow)
    Parameters
    Type Name Description
    Flow flow
    Implements
    IStateTransition.BeforeStateEnter(Flow)

    Branch(Flow)

    Declaration
    public void Branch(Flow flow)
    Parameters
    Type Name Description
    Flow flow
    Implements
    IStateTransition.Branch(Flow)

    CreateDebugData()

    Declaration
    public IGraphElementDebugData CreateDebugData()
    Returns
    Type Description
    IGraphElementDebugData
    Implements
    IGraphElementWithDebugData.CreateDebugData()

    OnEnter(Flow)

    Declaration
    public abstract void OnEnter(Flow flow)
    Parameters
    Type Name Description
    Flow flow
    Implements
    IStateTransition.OnEnter(Flow)

    OnExit(Flow)

    Declaration
    public abstract void OnExit(Flow flow)
    Parameters
    Type Name Description
    Flow flow
    Implements
    IStateTransition.OnExit(Flow)

    Extension Methods

    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    LiteralUtility.ToLiteralString(Object)
    LiteralUtility.ToLiteralStringOrDefault(Object)
    LiteralUtility.TryToLiteralString(Object, out String)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone(Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneViaSerializationPolicy(Object)
    Cloning.CloneViaSerializationPolicy(Object, out Dictionary<Object, Object>)
    Cloning.CloneViaSerializationPolicy<T>(T)
    Cloning.CloneViaSerializationPolicy<T>(T, out Dictionary<Object, Object>)
    Cloning.CloneInto(Object, ref Object, ICloner, Boolean)
    Cloning.CloneInto(Object, ref Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneInto<T>(T, ref Object, ICloner, Boolean)
    Cloning.CloneInto<T>(T, ref Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneIntoViaSerializationPolicy(Object, ref Object)
    Cloning.CloneIntoViaSerializationPolicy(Object, ref Object, out Dictionary<Object, Object>)
    Cloning.CloneIntoViaSerializationPolicy<T>(T, ref Object)
    Cloning.CloneIntoViaSerializationPolicy<T>(T, ref Object, out Dictionary<Object, Object>)
    Cloning.CloneValueType(Object)
    ConversionUtility.ConvertTo<TSource>(TSource, Type)
    ConversionUtility.IsLateConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsLateConvertibleTo<T>(Object, Boolean)
    ConversionUtility.LateConvertTo(Object, Type)
    ConversionUtility.LateConvertTo<T>(Object)
    ConversionUtility.TryLateConvertTo(Object, Type, out Object, Boolean)
    ConversionUtility.TryLateConvertTo<T>(Object, out T, Boolean)
    TypeUtility.ToShortString(Object, Int32)
    TypeUtility.CastTo<T>(Object)
    Serialization.FullSerialize(Object, Boolean)
    Serialization.OdinSerialize<T>(T, DataFormat)
    Serialization.OdinSerialize<T>(T, ref SerializationData, DataFormat)
    XObservableDisposable.EnsureNotDisposed(IObservableDisposable)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.UnityNullCoalesce(Object, Object)
    UnityObjectUtility.ToSafeString(Object)
    XFilterProvider.Filter(Object)
    XFilterProvider.Filter<TFilter>(Object)
    BoltGenerationUtility.GenerateLiteral(Object, IGeneration)
    XGeneratorProvider.Generator(Object, IGeneration)
    XGeneratorProvider.Generator<TGenerator>(Object, IGeneration)
    XGeneratorProvider.HasGenerator(Object, IGeneration)
    XGeneratorProvider.HasGenerator<TGenerator>(Object, IGeneration)
    XGeneratorProvider.TryGetGenerator(Object, out IGenerator, IGeneration)
    XGeneratorProvider.TryGetGenerator<TGenerator>(Object, IGeneration, out TGenerator)
    HybridConversionUtility.ConvertTo(Object, HybridType, HybridType)
    HybridConversionUtility.IsLateConvertibleTo(Object, HybridType, Boolean)
    HybridConversionUtility.LateConvertTo(Object, HybridType)
    HybridConversionUtility.TryLateConvertTo(Object, HybridType, out Object, Boolean)
    HybridTypeUtility.GetHybridType(Object)
    IsUtility.Is<TO, TC>(TO, out TC)
    GraphsExceptionUtility.GetException(IGraphElementWithDebugData, GraphPointer)
    GraphsExceptionUtility.SetException(IGraphElementWithDebugData, GraphPointer, Exception)
    GraphsExceptionUtility.ClearExceptionInHierarchy(IGraphElementWithDebugData, GraphPointer)
    GraphsExceptionUtility.HandleException(IGraphElementWithDebugData, GraphPointer, Exception)
    PrivateReflectionUsingDynamicExtensions.AsDynamic(Object)
    JsonWriter.ToJson(Object)
    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