Detects when eggs are falling on the ground and destroy them.
Simple Fsm to the point. We detect when an egg touches the floor and delete it. In this game since it's very simple, only eggs are falling, so we know that anything that touches the ground is an egg, that's why we can afford to use the "TRIGGER ENTER" build in event, else we would need to use the TriggerEvent actions and filter by gameObject tags, which works very well if different objects falls on the ground.
Example, you could have a golden egg, that if you catch it makes you win a bonus, and if you don't, makes you loose a a lot of points, for this we would tag the golden egg and have to implement this fsm differently and use the TriggerEvent action.