Summary
A simple system that can
Animancer.FSM.StateMachine`1.InputBuffer`1.State
a state then
try to enter it every time Animancer.FSM.StateMachine`1.InputBuffer`1.Update(System.Single)
is
called until the Animancer.FSM.StateMachine`1.InputBuffer`1.TimeOut
expires.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.FSM - Base Types
-
- Object
- StateMachine
<StateMachine <TKey, TState> >
graph BT
Type-->Base0["StateMachine<TState>.InputBuffer<StateMachine<TKey, TState>>"]
Base0-->Base1["Object"]
Type["StateMachine<TKey, TState>.InputBuffer"]
class Type type-node
Syntax
public class StateMachine<TKey, TState>.InputBuffer :
StateMachine<TState>.InputBuffer<StateMachine<TKey, TState>>
Examples
See
Animancer.FSM.StateMachine`1.InputBuffer`1
.Remarks
Documentation: Input Buffers
Constructors
Name | Summary |
---|---|
InputBuffer |
Creates a new Animancer.FSM.StateMachine`2.InputBuffer . |
InputBuffer |
Creates a new Animancer.FSM.StateMachine`2.InputBuffer for the specified `stateMachine`. |
Properties
Methods
Name | Value | Summary |
---|---|---|
Buffer |
bool |
If a state is registered with the `key`, this method calls
Animancer.FSM.StateMachine`2.InputBuffer.Buffer(`0,`1,System.Single)
and returns true. Otherwise it returns false.
|
Buffer |
void |
Sets the
Animancer.FSM.StateMachine`2.InputBuffer.Key , StateMachine<TState>.InputBuffer.State , and
TimeOut .
|
Clear |
void |
Clears this buffer so it stops trying to enter the
Animancer.FSM.StateMachine`1.InputBuffer`1.State . |
TryEnterState |
bool |
Attempts to enter the
Animancer.FSM.StateMachine`1.InputBuffer`1.State and returns true if successful. |