docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class StateTransition

    Inheritance
    object
    GraphElement<StateGraph>
    StateTransition
    NesterStateTransition<TGraph, TMacro>
    Implements
    IStateTransition
    IGraphElementWithDebugData
    IGraphElement
    IGraphItem
    INotifiedCollectionItem
    IDisposable
    IPrewarmable
    IAotStubbable
    IIdentifiable
    IAnalyticsIdentifiable
    IConnection<IState, IState>
    Inherited Members
    GraphElement<StateGraph>.guid
    GraphElement<StateGraph>.BeforeAdd()
    GraphElement<StateGraph>.AfterAdd()
    GraphElement<StateGraph>.BeforeRemove()
    GraphElement<StateGraph>.AfterRemove()
    GraphElement<StateGraph>.Dispose()
    GraphElement<StateGraph>.InstantiateNest()
    GraphElement<StateGraph>.UninstantiateNest()
    GraphElement<StateGraph>.HandleDependencies()
    GraphElement<StateGraph>.graph
    GraphElement<StateGraph>.deserializationDependencies
    GraphElement<StateGraph>.GetAotStubs(HashSet<object>)
    GraphElement<StateGraph>.Prewarm()
    GraphElement<StateGraph>.CopyFrom(GraphElement<StateGraph>)
    GraphElement<StateGraph>.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.VisualScripting
    Assembly: Unity.VisualScripting.State.dll
    Syntax
    public abstract class StateTransition : GraphElement<StateGraph>, IStateTransition, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable, 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
    int
    Overrides
    GraphElement<StateGraph>.dependencyOrder

    destination

    Declaration
    [Serialize]
    public IState destination { get; }
    Property Value
    Type Description
    IState

    source

    Declaration
    [Serialize]
    public IState source { get; }
    Property Value
    Type Description
    IState

    Methods

    Branch(Flow)

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

    CreateDebugData()

    Declaration
    public IGraphElementDebugData CreateDebugData()
    Returns
    Type Description
    IGraphElementDebugData

    GetAnalyticsIdentifier()

    Declaration
    public override AnalyticsIdentifier GetAnalyticsIdentifier()
    Returns
    Type Description
    AnalyticsIdentifier
    Overrides
    GraphElement<StateGraph>.GetAnalyticsIdentifier()

    Instantiate(GraphReference)

    Declaration
    public override void Instantiate(GraphReference instance)
    Parameters
    Type Name Description
    GraphReference instance
    Overrides
    GraphElement<StateGraph>.Instantiate(GraphReference)

    OnEnter(Flow)

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

    OnExit(Flow)

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

    Uninstantiate(GraphReference)

    Declaration
    public override void Uninstantiate(GraphReference instance)
    Parameters
    Type Name Description
    GraphReference instance
    Overrides
    GraphElement<StateGraph>.Uninstantiate(GraphReference)

    Implements

    IStateTransition
    IGraphElementWithDebugData
    IGraphElement
    IGraphItem
    INotifiedCollectionItem
    IDisposable
    IPrewarmable
    IAotStubbable
    IIdentifiable
    IAnalyticsIdentifiable
    IConnection<TSource, TDestination>

    Extension Methods

    Cloning.Clone(object, ICloner, bool)
    Cloning.Clone(object, ICloner, bool)
    Cloning.CloneViaFakeSerialization(object)
    Cloning.CloneViaFakeSerialization(object)
    ConversionUtility.ConvertTo(object, Type)
    ConversionUtility.ConvertTo(object, Type)
    ConversionUtility.ConvertTo<T>(object)
    ConversionUtility.ConvertTo<T>(object)
    ConversionUtility.IsConvertibleTo(object, Type, bool)
    ConversionUtility.IsConvertibleTo(object, Type, bool)
    ConversionUtility.IsConvertibleTo<T>(object, bool)
    ConversionUtility.IsConvertibleTo<T>(object, bool)
    Serialization.Serialize(object, bool)
    Serialization.Serialize(object, bool)
    TypeUtility.ToShortString(object, int)
    TypeUtility.ToShortString(object, int)
    UnityObjectUtility.IsUnityNull(object)
    UnityObjectUtility.IsUnityNull(object)
    UnityObjectUtility.ToSafeString(object)
    UnityObjectUtility.ToSafeString(object)
    XAnalyserProvider.Analyser(object, GraphReference)
    XAnalyserProvider.Analyser(object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(object, IGraphContext)
    XAnalyserProvider.Analysis(object, GraphReference)
    XAnalyserProvider.Analysis(object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(object, IGraphContext)
    XDescriptorProvider.Describe(object)
    XDescriptorProvider.Description(object)
    XDescriptorProvider.Description<TDescription>(object)
    XDescriptorProvider.Descriptor(object)
    XDescriptorProvider.Descriptor<TDescriptor>(object)
    XDescriptorProvider.HasDescriptor(object)
    GraphsExceptionUtility.GetException(IGraphElementWithDebugData, GraphPointer)
    GraphsExceptionUtility.HandleException(IGraphElementWithDebugData, GraphPointer, Exception)
    GraphsExceptionUtility.SetException(IGraphElementWithDebugData, GraphPointer, Exception)
    Cloning.CloneViaFakeSerialization<T>(T)
    Cloning.CloneViaFakeSerialization<T>(T)
    Cloning.Clone<T>(T, ICloner, bool)
    Cloning.Clone<T>(T, ICloner, bool)
    LinqUtility.Yield<T>(T)
    LinqUtility.Yield<T>(T)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, bool)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, bool)
    Serialization.CloneViaSerialization<T>(T, bool)
    Serialization.CloneViaSerialization<T>(T, bool)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)