Source code for a Flappy Bird clone built in Unity3D. You can check a blog post here and you can play the game here
It has been tested and developed on Unity 4.6. On Unity 5.0.0, uncheck the "Apply Root Motion" on the Animator component on the flappy GameObject and everything should work like a charm.