Bridge Trigger

The player will cross an invisible collider which will trigger our bridge animation to play.

Create a new Sprite Object and call it Trigger

It just needs to be a yellow rectangle.

Place it in the scene as shown and 

turn off initially visible

At this point turn off initially visible on the player box too.

Timeline Code