correction

correction of the script to make the endScene work again!

here i put this function in a file apart and not at the fisher man file
like it was before ( creating an error)
 i put the "end" script under box collider2D in the seashore so that
when the "player" hits the seashore the "endscene" appears!