![]() |
BomberUnits
...a Unity learning project
|
Active behaviour when the player is ready. Yeah. More...
Inheritance diagram for PlayerReadyBehaviour:
Collaboration diagram for PlayerReadyBehaviour:Public Member Functions | |
| override void | OnStateEnter (Animator animator, AnimatorStateInfo stateInfo, int layerIndex) |
| Set all local players to ready. More... | |
| override void | OnStateExit (Animator animator, AnimatorStateInfo stateInfo, int layerIndex) |
| Sets all local players back to not playing. More... | |
Active behaviour when the player is ready. Yeah.
Definition at line 9 of file PlayerReadyBehaviour.cs.
|
inline |
Set all local players to ready.
Could be changed in the future for individual players signalling ready.
Definition at line 15 of file PlayerReadyBehaviour.cs.
|
inline |
Sets all local players back to not playing.
This may be invoked when leaving the main menu towards a level, but that is not too bad.
Definition at line 23 of file PlayerReadyBehaviour.cs.