SUSMachine
SUSMachine copied to clipboard
clean up code & examples with target typed new (C# 9)
If I've read the docs right, we can do something like this...
private StateMachine<States, Events> stateMachine;
private void Awake()
{
stateMachine = new() {
// ...
}
}