Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Class SmState<TContext>

    Represents an abstract state within a state machine that operates with a specific context type.

    Inheritance
    object
    SmState
    SmState<TContext>
    Implements
    ISmStateWithContext<TContext>
    ISmState
    Inherited Members
    SmState.PrepareToRun()
    SmState.PrepareToStop()
    SmState.Tick()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Fwt.Core.StateMachines
    Assembly: fwt.core.dll
    Syntax
    public abstract class SmState<TContext> : SmState, ISmStateWithContext<TContext>, ISmState
    Type Parameters
    Name Description
    TContext

    The type of the context object associated with the state. This provides additional data or functionality relevant to the state machine's operation.

    Remarks

    This class serves as a base for implementing state machine states that require contextual information. Derive from this class to define custom states with context-specific behavior.

    Properties

    Context

    Gets or sets the context associated with the current instance.

    Declaration
    public virtual TContext Context { get; set; }
    Property Value
    Type Description
    TContext

    Implements

    ISmStateWithContext<TContext>
    ISmState

    Extension Methods

    HashExtensions.GetHashCode_RefType<TValue>(TValue, int)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    In this article
    Back to top Generated by DocFX