Fsm Description
RESTART GAME / START
This Fsm is responsible for instantiating the ball as the user starts a game, it does it both when the player first launches the game as well when restarting a game after a game over.
It instantiates a Prefab, the ball, and it uses the "GAME MANAGER" GameObject position as the spawning point. It's very convenient to do it this way as it can be visually positioned for quick setup.
Note. It also sets the name back to "Ball", because by default, Unity rename instantiated prefabs and would be called Ball(Clone).
RESTART GAME is fired by GAME MANAGER : Menu UI when the user press the restart button.
Fsm content
PlayMaker Actions