I'll try to beef up the docs for this. But in the meantime, here's a quick summary:
Variable Types:- String - Text
- Int - Integer or whole number (1,2,3...)
- Float - Floating point number (0.5, 1.2...)
- Bool - True or False. Useful to store the results of a test.
- Vector3 - Three Floats: x, y, and z. Typically used to store position or rotation.
- GameObject - A reference to a GameObject in the scene/project.
- Rect - Defines a rectangle using four floats: x, y, width, height.
- Material - Stores a reference to a Material in the project.
- Texture - Stores a reference to a Texture in the project.
- Color - Stores a color.
- Quaternion - An advanced representation of a rotation. Sometimes actions will use this for better interpolation between 2 rotations.
- Object - Any type of UnityEngine.Object. This lets you reference all sorts of properties in Unity. It's also pretty advanced. We'll make some tutorials for this soon.
TIP: Rollover a parameter in an Action to see its Type. This will tell you what type of variable to make. Global Events: If you want to send events between FSMs they must be marked Global.
Global Variables: If you want to easily access a variable from any FSM, make a global variable (e.g., NumberOfLives, Score, PlayerName...)
Hope this helps some!