Um, not sure any of us on here are qualified to answer that! There's a lot of possibilities there!
I doubt the UK is going to leave the EU anyway so I wouldn't worry about that.
Also, if you get funding for a project, I expect it will continue; leaving the EU would only affect new applicants.