On a FSM window, go to the “State” Tab.
Click on the “Action browser” button, located at the bottom.
Then choose “Send message” action.
GameObject : select which game object contains the script with the wanted method to call.
Delivery : switch between “send Message”, “send Message Upwards” sends the message in the gameObject and on every other ancestors of the behaviour, and “broadcast Message” sends the message in the gameObject and its children.
Options : RequireReceiver or DontRequireReceiver, if no such script is present in the gameObject will generate an error or not.
Method Name : the name of the function to call.
Parameters: choose a variable to pass to the function.