docs.unity3d.com
    Show / Hide Table of Contents

    Interface IState

    Inherited Members
    IGraphElementWithDebugData.CreateDebugData()
    IGraphElementWithData.CreateData()
    IGraphElement.HandleDependencies()
    IGraphElement.dependencyOrder
    IGraphElement.guid
    IGraphElement.Instantiate(GraphReference)
    IGraphElement.Uninstantiate(GraphReference)
    IGraphElement.deserializationDependencies
    INotifiedCollectionItem.BeforeAdd()
    INotifiedCollectionItem.AfterAdd()
    INotifiedCollectionItem.BeforeRemove()
    INotifiedCollectionItem.AfterRemove()
    IPrewarmable.Prewarm()
    IAotStubbable.aotStubs
    Namespace: Unity.VisualScripting
    Syntax
    public interface IState : IGraphElementWithDebugData, IGraphElementWithData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable

    Properties

    canBeDestination

    Declaration
    bool canBeDestination { get; }
    Property Value
    Type Description
    Boolean

    canBeSource

    Declaration
    bool canBeSource { get; }
    Property Value
    Type Description
    Boolean

    graph

    Declaration
    StateGraph graph { get; }
    Property Value
    Type Description
    StateGraph

    incomingTransitions

    Declaration
    IEnumerable<IStateTransition> incomingTransitions { get; }
    Property Value
    Type Description
    IEnumerable<IStateTransition>

    isStart

    Declaration
    bool isStart { get; set; }
    Property Value
    Type Description
    Boolean

    outgoingTransitions

    Declaration
    IEnumerable<IStateTransition> outgoingTransitions { get; }
    Property Value
    Type Description
    IEnumerable<IStateTransition>

    position

    Declaration
    Vector2 position { get; set; }
    Property Value
    Type Description
    Vector2

    transitions

    Declaration
    IEnumerable<IStateTransition> transitions { get; }
    Property Value
    Type Description
    IEnumerable<IStateTransition>

    width

    Declaration
    float width { get; set; }
    Property Value
    Type Description
    Single

    Methods

    OnBranchTo(Flow, IState)

    Declaration
    void OnBranchTo(Flow flow, IState destination)
    Parameters
    Type Name Description
    Flow flow
    IState destination

    OnEnter(Flow, StateEnterReason)

    Declaration
    void OnEnter(Flow flow, StateEnterReason reason)
    Parameters
    Type Name Description
    Flow flow
    StateEnterReason reason

    OnExit(Flow, StateExitReason)

    Declaration
    void OnExit(Flow flow, StateExitReason reason)
    Parameters
    Type Name Description
    Flow flow
    StateExitReason reason

    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