Wait For All Finished
Wait for all running actions in this state to finish.
| Parameter | Description |
|---|---|
| Only Actions That Can Finish | Only wait for actions that can finish. For example, a Move Towards action can finish, but other actions in the list might be just updating properties every frame, and can't finish. In this case, set this to true to only wait for the Move Towards to finish. |
Tip
It's sometimes convenient to be able to use FINISHED events instead of custom FSM Events.
This action can help finish a state that doesn't otherwise finish so you can used the FINISHED event.
Example

In the example, Mathf Move Towards moves a float variable, Health towards 100. The next action sets a canvas group's alpha to the Health value. The Move Towards action can finish but the Set Alpha action does not. The Wait For All Finished action with the Only Actions That Can Finish setting finishes the state when the Move Towards action finishes, ignoring the Set Alpha action.