STATE MACHINES
A downloadable tool
Download NowName your own price
Version: 1.0.2
Description:
Base classes to create custom state machines.
Package Mirrors:
Key Scripts & Components:
- public interface IState
- Methods:
- public abstract Boolean CanTransitionTo(IState state)
- public abstract void Enter()
- public abstract void Exit()
- public interface IStateMachine`1
- Properties:
- public T PreviousState { get; set; }
- public T CurrentState { get; set; }
- Methods:
- public abstract Boolean RequestState(T requestedState)
- public abstract void RequestPreviousState()
- public abstract void ChangeToState(T newState)
- public abstract class ScriptedState : ScriptableObject
- Methods:
- public virtual Boolean CanTransitionTo(IState state)
- public abstract void Enter()
- public abstract void Exit()
- public abstract class State
- Methods:
- public virtual Boolean CanTransitionTo(IState state)
- public abstract void Enter()
- public abstract void Exit()
- public class StateMachine`1
- Actions:
- public event Action OnStateChange
- Properties:
- public T PreviousState { get; set; }
- public T CurrentState { get; set; }
- public Type PreviousStateType { get; set; }
- public Type CurrentStateType { get; set; }
- public float TimeOfLastStateChange { get; }
- public float SecondsSinceLastStateChange { get; }
- public float UnscaledTimeOfLastStateChange { get; }
- public float UnscaledSecondsSinceLastStateChange { get; }
- Methods:
- public virtual Boolean RequestState(T requestedState)
- public virtual void RequestPreviousState()
- public virtual void ChangeToState(T newState)
- public StateMachine`1 Initialize(T initialState)
- public abstract class StateRequestButton : MonoBehaviour
- Methods:
- public abstract void OnClick()
Status | In development |
Category | Tool |
Author | Iron Mountain |
Tags | iron-mountain, tools, Unity |
Download
Download NowName your own price
Click download now to get access to the following files:
com.iron-mountain.state-machines.unitypackage 4.2 kB
Leave a comment
Log in with itch.io to leave a comment.