Checks if the conditional expression Is True or Is Not True. Stops execution of the game if the assertion fails, so that you can debug why.
This is a useful way to check your assumptions. If you expect a certain value use an Assert to make sure!
Only runs in Editor.
Expression
Enter an expression to evaluate. Using variable names defined by the FSM and/or global variables. Examples:
health <= maxHealth
lives < 100
Use $(for variable names with spaces)
health <= maxHealth
lives < 100
Use $(for variable names with spaces)
Assert
Expected result of the expression.
Every Frame
Repeat every frame while the state is active.