docs.unity3d.com
    Show / Hide Table of Contents

    Class StateTransition

    Inheritance
    Object
    GraphElement<StateGraph>
    StateTransition
    NesterStateTransition<TGraph, TMacro>
    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>.IGraphElement.graph
    GraphElement<StateGraph>.IGraphItem.graph
    GraphElement<StateGraph>.deserializationDependencies
    GraphElement<StateGraph>.aotStubs
    GraphElement<StateGraph>.Prewarm()
    GraphElement<StateGraph>.CopyFrom(GraphElement<StateGraph>)
    GraphElement<StateGraph>.ToString()
    Namespace: Unity.VisualScripting
    Syntax
    public abstract class StateTransition : GraphElement<StateGraph>, IStateTransition, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, 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
    Unity.VisualScripting.GraphElement<Unity.VisualScripting.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

    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()

    Instantiate(GraphReference)

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

    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)

    Uninstantiate(GraphReference)

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

    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)
    GraphsExceptionUtility.GetException(IGraphElementWithDebugData, GraphPointer)
    GraphsExceptionUtility.SetException(IGraphElementWithDebugData, GraphPointer, Exception)
    GraphsExceptionUtility.HandleException(IGraphElementWithDebugData, GraphPointer, Exception)
    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)
    Back to top
    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