Skip to content

Commit bc88d1f

Browse files
committed
Fixed documentation about StateMachine initialization
1 parent 7d29bb0 commit bc88d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/articles/DesignPatterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ The state machine will be initialized with the static helper class [StateMachine
167167
````cs
168168
private void InitializeMachine()
169169
{
170-
StateMachine.Initialize<MyStateBase>(this);
170+
StateMachine.Initialize(this).With<MyStateBase>();
171171
}
172172
````
173173

0 commit comments

Comments
 (0)