docs.unity3d.com
    Show / Hide Table of Contents

    Class AnyState

    A special state that can trigger transitions to other states, no matter which state is currently active. This state cannot receive transitions.

    Inheritance
    Object
    GraphElement<StateGraph>
    State
    AnyState
    Inherited Members
    State.CreateData()
    State.CreateDebugData()
    State.isStart
    State.canBeSource
    State.BeforeRemove()
    State.Instantiate(GraphReference)
    State.Uninstantiate(GraphReference)
    State.CopyFrom(State)
    State.outgoingTransitions
    State.incomingTransitions
    State.outgoingTransitionsNoAlloc
    State.transitions
    State.Disconnect()
    State.OnEnter(Flow, StateEnterReason)
    State.OnEnterImplementation(Flow)
    State.UpdateImplementation(Flow)
    State.FixedUpdateImplementation(Flow)
    State.LateUpdateImplementation(Flow)
    State.OnExitImplementation(Flow)
    State.DefaultWidth
    State.position
    State.width
    GraphElement<StateGraph>.guid
    GraphElement<StateGraph>.BeforeAdd()
    GraphElement<StateGraph>.AfterAdd()
    GraphElement<StateGraph>.AfterRemove()
    GraphElement<StateGraph>.Dispose()
    GraphElement<StateGraph>.InstantiateNest()
    GraphElement<StateGraph>.UninstantiateNest()
    GraphElement<StateGraph>.dependencyOrder
    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 sealed class AnyState : State, IState, IGraphElementWithDebugData, IGraphElementWithData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable

    Constructors

    AnyState()

    Declaration
    public AnyState()

    Properties

    canBeDestination

    Declaration
    [DoNotSerialize]
    public override bool canBeDestination { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    State.canBeDestination

    Methods

    OnBranchTo(Flow, IState)

    Declaration
    public override void OnBranchTo(Flow flow, IState destination)
    Parameters
    Type Name Description
    Flow flow
    IState destination
    Overrides
    State.OnBranchTo(Flow, IState)

    OnExit(Flow, StateExitReason)

    Declaration
    public override void OnExit(Flow flow, StateExitReason reason)
    Parameters
    Type Name Description
    Flow flow
    StateExitReason reason
    Overrides
    State.OnExit(Flow, StateExitReason)

    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